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.

PlayerSessionEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 11
c 1
b 0
f 0
dl 0
loc 32
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
4
namespace ApiVideo\Client\Model\Analytic;
5
6
7
use DateTimeInterface;
8
9
class PlayerSessionEvent
10
{
11
    /** @var string */
12
    public $type;
13
14
    /** @var DateTimeInterface */
15
    public $emittedAt;
16
17
    /** @var int|null */
18
    public $at;
19
20
    /** @var int|null */
21
    public $from;
22
23
    /** @var int|null */
24
    public $to;
25
26
    /**
27
     * SessionEvent constructor.
28
     * @param string            $type
29
     * @param DateTimeInterface $emittedAt
30
     * @param int|null          $at
31
     * @param int|null          $from
32
     * @param int|null          $to
33
     */
34
    public function __construct($type, DateTimeInterface $emittedAt, $at, $from, $to)
35
    {
36
        $this->type      = $type;
37
        $this->emittedAt = $emittedAt;
38
        $this->at        = $at;
39
        $this->from      = $from;
40
        $this->to        = $to;
41
    }
42
}
43