Authorization::setUpdatedAt()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
namespace Redbox\Twitch;
3
4
class Authorization {
5
6
    /**
7
     * @var array
8
     */
9
    protected $scopes = [];
10
11
    /**
12
     * @var string
13
     */
14
    protected $created_at = '';
15
16
    /**
17
     * @var string
18
     */
19
    protected $updated_at = '';
20
21
    /**
22
     * @return array
23
     */
24
    public function getScopes()
25
    {
26
        return $this->scopes;
27
    }
28
29
    /**
30
     * @param array $scopes
31
     */
32
    public function setScopes($scopes)
33
    {
34
        $this->scopes = $scopes;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getCreatedAt()
41
    {
42
        return $this->created_at;
43
    }
44
45
    /**
46
     * @param string $created_at
47
     */
48
    public function setCreatedAt($created_at)
49
    {
50
        $this->created_at = $created_at;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getUpdatedAt()
57
    {
58
        return $this->updated_at;
59
    }
60
61
    /**
62
     * @param string $updated_at
63
     */
64
    public function setUpdatedAt($updated_at)
65
    {
66
        $this->updated_at = $updated_at;
67
    }
68
}