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.

SystemsResponse   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 28
ccs 0
cts 9
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getCollection() 0 4 1
1
<?php
2
3
namespace JumpCloud\Response;
4
5
use Doctrine\Common\Collections\ArrayCollection;
6
use GuzzleHttp\Psr7\Response as HttpResponse;
7
8
class SystemsResponse implements ResponseInterface
9
{
10
    use ResponseTrait;
11
    
12
    /**
13
     * @var ArrayCollection
14
     */
15
    private $collection;
16
17
    /**
18
     * SystemsResponse constructor.
19
     * @param HttpResponse $response
20
     * @param ArrayCollection $collection
21
     */
22
    public function __construct(HttpResponse $response, ArrayCollection $collection)
23
    {
24
        $this->response = $response;
25
        $this->collection = $collection;
26
    }
27
28
    /**
29
     * @return ArrayCollection
30
     */
31
    public function getCollection()
32
    {
33
        return $this->collection;
34
    }
35
}
36