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.

AbstractClient::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Ozean12\GooglePubSubBundle\Service;
4
5
use Google\Cloud\PubSub\PubSubClient;
6
use JMS\Serializer\Serializer;
7
8
/**
9
 * Class AbstractClient
10
 */
11
abstract class AbstractClient
12
{
13
    use LoggerTrait;
14
15
    /**
16
     * @var PubSubClient
17
     */
18
    protected $client;
19
20
    /**
21
     * @var Serializer
22
     */
23
    protected $serializer;
24
25
    /**
26
     * AbstractClient constructor.
27
     *
28
     * @param PubSubClient $client
29
     * @param Serializer   $serializer
30
     */
31
    public function __construct(PubSubClient $client, Serializer $serializer)
32
    {
33
        $this->client = $client;
34
        $this->serializer = $serializer;
35
    }
36
}
37