Completed
Push — master ( c14ed6...643334 )
by Johnny
02:41
created

ChatChannelEmoticons::setEmoticons()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
namespace Redbox\Twitch;
3
4
class ChatChannelEmoticons
5
{
6
    /**
7
     * @var array
8
     */
9
    protected $emoticons = [];
10
11
    /**
12
     * @return array
13
     */
14
    public function getEmoticons()
15
    {
16
        return $this->emoticons;
17
    }
18
19
    /**
20
     * @param array $emoticons
21
     */
22
    public function setEmoticons($emoticons)
23
    {
24
        $this->emoticons = $emoticons;
25
    }
26
}