Passed
Push — master ( 5e8b2c...35a530 )
by Farhad
03:17
created

TextMessage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 22
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A content() 0 5 1
1
<?php
2
3
namespace NotificationChannels\RayganSms;
4
5
class TextMessage
6
{
7
    /**
8
     * @var string
9
     */
10
    public $content;
11
12
    /**
13
     * @var string
14
     */
15
    public $type = 'txt';
16
17
    /**
18
     * @param string $content
19
     *
20
     * @return $this
21
     */
22
    public function content($content)
23
    {
24
        $this->content = $content;
25
26
        return $this;
27
    }
28
}
29