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.

AbstractSearchResultModel::getChannel()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/*
4
 * This file is part of the Slack API library.
5
 *
6
 * (c) Cas Leentfaar <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace CL\Slack\Model;
13
14
/**
15
 * @author Cas Leentfaar <[email protected]>
16
 */
17
abstract class AbstractSearchResultModel extends AbstractModel
18
{
19
    /**
20
     * @var Paging
21
     */
22
    private $pagination;
23
24
    /**
25
     * @var Paging
26
     */
27
    private $paging;
28
29
    /**
30
     * @var int
31
     */
32
    private $total;
33
34
    /**
35
     * @var string
36
     */
37
    private $channel;
38
39
    /**
40
     * @return Paging
41
     */
42
    public function getPagination()
43
    {
44
        return $this->pagination;
45
    }
46
47
    /**
48
     * @return Paging
49
     */
50
    public function getPaging()
51
    {
52
        return $this->paging;
53
    }
54
55
    /**
56
     * @return int Total number of results
57
     */
58
    public function getTotal()
59
    {
60
        return $this->total;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getChannel()
67
    {
68
        return $this->channel;
69
    }
70
}
71