Custom   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 1
c 2
b 1
f 0
lcom 0
cbo 1
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Tymon\JWTAuth\Claims;
4
5
class Custom extends Claim
6
{
7
    /**
8
     * @param string  $name
9
     * @param mixed   $value
10
     */
11 6
    public function __construct($name, $value)
12
    {
13 6
        parent::__construct($value);
14 6
        $this->setName($name);
15 6
    }
16
}
17