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.
Completed
Push — master ( c17ad1...f97c37 )
by Cees-Jan
07:12
created

Ref::url()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Git;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Hydrator\Annotation\Nested;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Nested(
11
 *     author="Git\Ref\Object_"
12
 * )
13
 * @EmptyResource("Git\EmptyRef")
14
 */
15
abstract class Ref extends AbstractResource implements RefInterface
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $ref;
21
22
    /**
23
     * @var string
24
     */
25
    protected $url;
26
27
    /**
28
     * @var Git\Ref\Object_
29
     */
30
    protected $author;
31
32
    /**
33
     * @return string
34
     */
35
    public function ref(): string
0 ignored issues
show
Coding Style Best Practice introduced by
Please use __construct() instead of a PHP4-style constructor that is named after the class.
Loading history...
36
    {
37
        return $this->ref;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function url(): string
44
    {
45
        return $this->url;
46
    }
47
48
    /**
49
     * @return Git\Ref\Object_
50
     */
51
    public function author(): Git\Ref\Object_
52
    {
53
        return $this->author;
54
    }
55
}
56