GithubAccessResponse::deserializeExtra()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace BWC\Share\Github;
4
5
use BWC\Share\Object\DeserializeTrait;
6
7
class GithubAccessResponse
8
{
9
    use DeserializeTrait;
10
11
    /** @var  string */
12
    public $access_token;
13
14
    /** @var string[] */
15
    public $scope;
16
17
    /** @var  string */
18
    public $token_type;
19
20
    /** @var  string */
21
    public $error;
22
23
    /** @var  string */
24
    public $error_description;
25
26
    /** @var  string */
27
    public $error_uri;
28
29
30
31
    public function deserializeExtra($arr)
0 ignored issues
show
Unused Code introduced by
The parameter $arr is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
32
    {
33
        $this->scope = explode(',', $this->scope);
34
    }
35
}