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.

HttpException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
namespace Kobas\APIClient\Exception;
4
5
/**
6
 * Class HttpException
7
 * @package Kobas\APIClient\Exception
8
 */
9
class HttpException extends \Exception
10
{
11
    /**
12
     * @var
13
     */
14
    protected $data;
15
16
    /**
17
     * HttpException constructor.
18
     * @param string $message
19
     * @param $code
20
     */
21 3
    public function __construct($message, $code)
22
    {
23 3
        parent::__construct($message, $code);
24 3
    }
25
}
26