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.
Passed
Push — master ( e7bef7...3cccd4 )
by Šimon
03:07
created

Image   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 12
dl 0
loc 22
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
namespace GraphQL\Examples\Blog\Data;
3
4
use GraphQL\Utils\Utils;
5
6
class Image
7
{
8
    const TYPE_USERPIC = 'userpic';
9
10
    const SIZE_ICON = 'icon';
11
    const SIZE_SMALL = 'small';
12
    const SIZE_MEDIUM = 'medium';
13
    const SIZE_ORIGINAL = 'original';
14
15
    public $id;
16
17
    public $type;
18
19
    public $size;
20
21
    public $width;
22
23
    public $height;
24
25
    public function __construct(array $data)
26
    {
27
        Utils::assign($this, $data);
28
    }
29
}
30