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 ( a365de...ed9d4f )
by Barry vd.
03:01
created

ApnFeedback   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 31
ccs 8
cts 8
cp 1
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getToken() 0 4 1
A getTimestamp() 0 4 1
1
<?php
2
3
namespace NotificationChannels\Apn;
4
5
class ApnFeedback
6
{
7
    protected $token;
8
    protected $time;
9
10
    /**
11
     * @param string $token
12
     * @param int $time
13
     */
14 1
    public function __construct($token, $time)
15
    {
16 1
        $this->token = $token;
17 1
        $this->time = $time;
18 1
    }
19
20
    /**
21
     * @return mixed
22
     */
23 1
    public function getToken()
24
    {
25 1
        return $this->token;
26
    }
27
28
    /**
29
     * @return int
30
     */
31 1
    public function getTimestamp()
32
    {
33 1
        return $this->time;
34
    }
35
}
36