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.

AuthEntity::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
crap 1
1
<?php
2
/**
3
 * @package: chapi
4
 *
5
 * @author:  agrunwald
6
 * @since:   2016-03-07
7
 *
8
 */
9
10
namespace Chapi\Entity\Http;
11
12
class AuthEntity
13
{
14
    /**
15
     * @var string
16
     */
17
    public $username = '';
18
19
    /**
20
     * @var string
21
     */
22
    public $password = '';
23
24
    /**
25
     * @param string $username
26
     * @param string $password
27
     */
28 7
    public function __construct($username, $password)
29
    {
30 7
        $this->username = $username;
31 7
        $this->password = $password;
32 7
    }
33
}
34