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
Push — master ( 33bf56...8dcbdd )
by Cas
33:20 queued 30:17
created

Team::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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 Nic Malan <[email protected]>
16
 *
17
 * @link Official documentation at https://api.slack.com/types
18
 */
19
class Team extends AbstractModel
20
{
21
    /**
22
     * @var string
23
     */
24
    private $id;
25
26
    /**
27
     * @var string
28
     */
29
    private $name;
30
31
    /**
32
     * @var string
33
     */
34
    private $domain;
35
36
    /**
37
     * @var string
38
     */
39
    private $emailDomain;
40
41
    /**
42
     * @var array
43
     */
44
    private $icon;
45
46
    /**
47
     * @return string The ID of this team.
48
     */
49
    public function getId()
50
    {
51
        return $this->id;
52
    }
53
54
    /**
55
     * @return string The name of this team.
56
     */
57
    public function getName()
58
    {
59
        return $this->name;
60
    }
61
62
    /**
63
     * @return string The domain of this team.
64
     */
65
    public function getDomain()
66
    {
67
        return $this->domain;
68
    }
69
70
    /**
71
     * @return string The email domain of this team.
72
     */
73
    public function getEmailDomain()
74
    {
75
        return $this->emailDomain;
76
    }
77
78
    /**
79
     * @return array of icons
80
     */
81
    public function getIcon()
82
    {
83
        return $this->icon;
84
    }
85
}
86