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.

Fixture   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getResponse() 0 3 1
A __construct() 0 4 1
A getRequest() 0 3 1
1
<?php
2
3
namespace Alekseytupichenkov\GuzzleStub\Model;
4
5
use Psr\Http\Message\RequestInterface;
6
use Psr\Http\Message\ResponseInterface;
7
8
class Fixture
9
{
10
    private $request;
11
    private $response;
12
13
    public function __construct(RequestInterface $request, ResponseInterface $response)
14
    {
15
        $this->request = $request;
16
        $this->response = $response;
17
    }
18
19
    public function getRequest(): RequestInterface
20
    {
21
        return $this->request;
22
    }
23
24
    public function getResponse(): ResponseInterface
25
    {
26
        return $this->response;
27
    }
28
}
29