GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

AbstractClientFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A hasLogger() 0 4 1
1
<?php
2
3
namespace WebservicesNl\Connector\Client;
4
5
use Psr\Log\LoggerAwareTrait;
6
use Psr\Log\LoggerInterface;
7
8
/**
9
 * AbstractClientFactory.
10
 *
11
 * Base ClientFactory.
12
 */
13
abstract class AbstractClientFactory implements ClientFactoryInterface
14
{
15
    use LoggerAwareTrait;
16
17
    /**
18
     * Returns whether this instance is blessed with a LoggerInterface.
19
     *
20
     * @return bool
21
     */
22 8
    public function hasLogger()
23
    {
24 8
        return $this->logger instanceof LoggerInterface;
25
    }
26
}
27