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

TextMessage::content()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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