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 ( 39339b...cbb800 )
by Etienne
08:42
created

ClickatellMessage   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A create() 0 4 1
A __construct() 0 4 1
A content() 0 6 1
A getContent() 0 4 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
    public static function create($content = '')
16
    {
17
        return new static($content);
18
    }
19
20
    /**
21
     * @param string $content
22
     */
23
    public function __construct($content = '')
24
    {
25
        $this->content = $content;
26
    }
27
28
    /**
29
     * @param string $content
30
     *
31
     * @return $this
32
     */
33
    public function content($content)
34
    {
35
        $this->content = $content;
36
37
        return $this;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getContent()
44
    {
45
        return $this->content;
46
    }
47
}
48