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 (#73)
by
unknown
03:30 queued 14s
created

ChannelsListPayload::isExcludeArchived()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 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\Payload;
13
14
/**
15
 * @author Cas Leentfaar <[email protected]>
16
 *
17
 * @link Official documentation at https://api.slack.com/methods/channels.list
18
 */
19
class ChannelsListPayload extends AbstractPayload
20
{
21
    /**
22
     * @var bool
23
     */
24
	private $exclude_archived;
25
26
	/**
27
	 * @var bool
28
	 */
29
	private $exclude_members;
30
31
	/**
32
	 * @var int
33
	 */
34
	private $limit;
35
36
    /**
37
     * @inheritdoc
38
     */
39 1
    public function getMethod()
40
    {
41 1
        return 'channels.list';
42
    }
43
44
    /**
45
     * @param bool $exclude_archived
46
     */
47 1
    public function setExcludeArchived($exclude_archived)
48
    {
49 1
        $this->exclude_archived = $exclude_archived;
50 1
    }
51
52
    /**
53
     * @return bool
54
     */
55 1
    public function isExcludeArchived()
56
    {
57 1
        return $this->exclude_archived;
58
    }
59
60
	/**
61
	 * @return bool
62
	 */
63
	public function isExcludeMembers()
64
	{
65
		return $this->exclude_members;
66
	}
67
68
	/**
69
	 * @param bool $exclude_members
70
	 */
71
	public function setExcludeMembers( bool $exclude_members )
72
	{
73
		$this->exclude_members = $exclude_members;
74
	}
75
76
	/**
77
	 * @return int
78
	 */
79
	public function getLimit()
80
	{
81
		return $this->limit;
82
	}
83
84
	/**
85
	 * @param int $limit
86
	 */
87
	public function setLimit( $limit )
88
	{
89
		$this->limit = $limit;
90
	}
91
92
}
93