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   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 54
c 0
b 0
f 0
ccs 0
cts 8
cp 0
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getPagination() 0 4 1
A getPaging() 0 4 1
A getTotal() 0 4 1
A getChannel() 0 4 1
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