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 (#71)
by
unknown
02:30
created

AttachmentAction::getStyle()   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 1
Bugs 0 Features 1
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 1
b 0
f 1
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\Model;
13
14
/**
15
 * @author Samet Yilmaz <[email protected]>
16
 *
17
 * @link Official documentation at https://api.slack.com/docs/attachments
18
 */
19
class AttachmentAction extends AbstractModel
20
{
21
    /**
22
     * @var string
23
     */
24
    private $name;
25
26
    /**
27
     * @var string
28
     */
29
    private $text;
30
31
    /**
32
     * @var string
33
     */
34
    private $type;
35
36
    /**
37
     * @var string
38
     */
39
    private $value;
40
41
    /**
42
     * @var string
43
     */
44
    private $style;
45
46
    /**
47
     * @return string
48
     */
49 3
    public function getName()
50
    {
51 3
        return $this->name;
52
    }
53
54
    /**
55
     * @param string $name
56
     */
57 1
    public function setName($name)
58
    {
59 1
        $this->name = $name;
60 1
    }
61
62
    /**
63
     * @return string
64
     */
65 3
    public function getText()
66
    {
67 3
        return $this->text;
68
    }
69
70
    /**
71
     * @param string $text
72
     */
73 1
    public function setText($text)
74
    {
75 1
        $this->text = $text;
76 1
    }
77
78
    /**
79
     * @return string
80
     */
81 3
    public function getType()
82
    {
83 3
        return $this->type;
84
    }
85
86
    /**
87
     * @param string $type
88
     */
89 1
    public function setType($type)
90
    {
91 1
        $this->type = $type;
92 1
    }
93
94
    /**
95
     * @return string
96
     */
97 3
    public function getValue()
98
    {
99 3
        return $this->value;
100
    }
101
102
    /**
103
     * @param string $value
104
     */
105 1
    public function setValue($value)
106
    {
107 1
        $this->value = $value;
108 1
    }
109
110
    /**
111
     * @return string
112
     */
113 3
    public function getStyle()
114
    {
115 3
        return $this->style;
116
    }
117
118
    /**
119
     * @param string $style
120
     */
121 1
    public function setStyle($style)
122
    {
123 1
        $this->style = $style;
124 1
    }
125
}
126