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
unknown
02:46
created

Structure::setOaiName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
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 Structure extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $toplevel;
21
    /**
22
     * @var string
23
     */
24
    protected $label;
25
    /**
26
     * @var string
27
     */
28
    protected $index_name;
29
    /**
30
     * @var string
31
     */
32
    protected $oai_name;
33
    /**
34
     * @var int
35
     */
36
    protected $thumbnail;
37
    /**
38
     * @var int
39
     */
40
    protected $status;
41
42
    /**
43
     * @return int
44
     */
45
    public function getToplevel(): int
46
    {
47
        return $this->toplevel;
48
    }
49
50
    /**
51
     * @param int $toplevel
52
     */
53
    public function setToplevel(int $toplevel): void
54
    {
55
        $this->toplevel = $toplevel;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getLabel(): string
62
    {
63
        return $this->label;
64
    }
65
66
    /**
67
     * @param string $label
68
     */
69
    public function setLabel(string $label): void
70
    {
71
        $this->label = $label;
72
    }
73
74
    /**
75
     * @return string
76
     */
77
    public function getIndexName(): string
78
    {
79
        return $this->index_name;
80
    }
81
82
    /**
83
     * @param string $index_name
84
     */
85
    public function setIndexName(string $index_name): void
86
    {
87
        $this->index_name = $index_name;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getOaiName(): string
94
    {
95
        return $this->oai_name;
96
    }
97
98
    /**
99
     * @param string $oai_name
100
     */
101
    public function setOaiName(string $oai_name): void
102
    {
103
        $this->oai_name = $oai_name;
104
    }
105
106
    /**
107
     * @return int
108
     */
109
    public function getThumbnail(): int
110
    {
111
        return $this->thumbnail;
112
    }
113
114
    /**
115
     * @param int $thumbnail
116
     */
117
    public function setThumbnail(int $thumbnail): void
118
    {
119
        $this->thumbnail = $thumbnail;
120
    }
121
122
    /**
123
     * @return int
124
     */
125
    public function getStatus(): int
126
    {
127
        return $this->status;
128
    }
129
130
    /**
131
     * @param int $status
132
     */
133
    public function setStatus(int $status): void
134
    {
135
        $this->status = $status;
136
    }
137
138
139
140
}