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.
Test Setup Failed
Push — master ( fe4962...3aa77f )
by Thijs
04:04
created

AbstractClientFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 14
rs 10

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
    public function hasLogger()
23
    {
24
        return $this->logger instanceof LoggerInterface;
25
    }
26
}
27