Passed
Push — master ( 8837ac...692d33 )
by Simon
02:02
created

SubjectData::getUserName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Firesphere\GraphQLJWT\Helpers;
4
5
6
class SubjectData
7
{
8
9
    protected $id;
10
11
    protected $userName;
12
13
    /**
14
     * @return mixed
15
     */
16
    public function getId()
17
    {
18
        return $this->id;
19
    }
20
21
    /**
22
     * @param mixed $id
23
     */
24
    public function setId($id)
25
    {
26
        $this->id = $id;
27
    }
28
29
    /**
30
     * @return mixed
31
     */
32
    public function getUserName()
33
    {
34
        return $this->userName;
35
    }
36
37
    /**
38
     * @param mixed $userName
39
     */
40
    public function setUserName($userName)
41
    {
42
        $this->userName = $userName;
43
    }
44
}