Payload   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ParcelValue\Api\JWT;
6
7
/**
8
* An implementation of the object retuned by returned by Firebase\JWT\JWT::decode
9
*/
10
class Payload
11
{
12
    public string $sub;
13
    public string $clientKey;
14
15
    public function __construct(string $sub, string $clientKey)
16
    {
17
        $this->sub = $sub;
18
        $this->clientKey = $clientKey;
19
    }
20
}
21