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.

ClickatellMessage::content()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
namespace NotificationChannels\Clickatell;
4
5
class ClickatellMessage
6
{
7
    /** @var string */
8
    public $content;
9
10
    /**
11
     * @param string $content
12
     *
13
     * @return static
14
     */
15 2
    public static function create($content = '')
16
    {
17 2
        return new static($content);
18
    }
19
20
    /**
21
     * @param string $content
22
     */
23 3
    public function __construct($content = '')
24
    {
25 3
        $this->content = $content;
26 3
    }
27
28
    /**
29
     * @param string $content
30
     *
31
     * @return $this
32
     */
33 1
    public function content($content)
34
    {
35 1
        $this->content = $content;
36
37 1
        return $this;
38
    }
39
40
    /**
41
     * @return string
42
     */
43 2
    public function getContent()
44
    {
45 2
        return $this->content;
46
    }
47
}
48