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

SubjectData   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 37
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A getUserName() 0 3 1
A setId() 0 3 1
A setUserName() 0 3 1
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
}