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
Pull Request — master (#45)
by Evgeny
36:21
created

CategoryList::assignThreadsNumber()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 4

Duplication

Lines 7
Ratio 100 %

Importance

Changes 0
Metric Value
dl 7
loc 7
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 4
nc 2
nop 2
1
<?php
2
3
namespace SimaLand\API\Entities;
4
5
use SimaLand\API\AbstractList;
6
7
/**
8
 * Категории.
9
 */
10
class CategoryList extends AbstractList
11
{
12
    /**
13
     * GET параметр отвечающий за поток.
14
     *
15
     * @var string
16
     */
17
    public $keyThreads = 'id-mf';
18
19
    /**
20
     * Использовать альтернативную пагинацию.
21
     *
22
     * @var bool
23
     */
24
    public $useAlternativePagination = true;
25
26
    /**
27
     * @inheritdoc
28
     */
29
    public function getEntity()
30
    {
31
        return 'category';
32
    }
33
}
34