Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

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
Pull Request — dev-extbase-fluid (#723)
by Alexander
09:06 queued 05:43
created

ActionLog::getCountPages()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * (c) Kitodo. Key to digital objects e.V. <[email protected]>
5
 *
6
 * This file is part of the Kitodo and TYPO3 projects.
7
 *
8
 * @license GNU General Public License version 3 or later.
9
 * For the full copyright and license information, please read the
10
 * LICENSE.txt file that was distributed with this source code.
11
 */
12
13
namespace Kitodo\Dlf\Domain\Model;
14
15
class ActionLog extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $userId;
21
22
    /**
23
     * @var string
24
     */
25
    protected $fileName;
26
27
    /**
28
     * @var int
29
     */
30
    protected $countPages;
31
32
    /**
33
     * @var string
34
     */
35
    protected $name;
36
37
    /**
38
     * @var string
39
     */
40
    protected $label;
41
42
    /**
43
     * @return int
44
     */
45
    public function getUserId(): int
46
    {
47
        return $this->userId;
48
    }
49
50
    /**
51
     * @param int $userId
52
     */
53
    public function setUserId(int $userId): void
54
    {
55
        $this->userId = $userId;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getFileName(): string
62
    {
63
        return $this->fileName;
64
    }
65
66
    /**
67
     * @param string $fileName
68
     */
69
    public function setFileName(string $fileName): void
70
    {
71
        $this->fileName = $fileName;
72
    }
73
74
    /**
75
     * @return int
76
     */
77
    public function getCountPages(): int
78
    {
79
        return $this->countPages;
80
    }
81
82
    /**
83
     * @param int $countPages
84
     */
85
    public function setCountPages(int $countPages): void
86
    {
87
        $this->countPages = $countPages;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getName(): string
94
    {
95
        return $this->name;
96
    }
97
98
    /**
99
     * @param string $name
100
     */
101
    public function setName(string $name): void
102
    {
103
        $this->name = $name;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getLabel(): string
110
    {
111
        return $this->label;
112
    }
113
114
    /**
115
     * @param string $label
116
     */
117
    public function setLabel(string $label): void
118
    {
119
        $this->label = $label;
120
    }
121
122
}