GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( d7344e...89c4ce )
by Tomasz
14:40 queued 04:30
created

Member   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
declare(strict_types=1);
3
namespace Thunder\Platenum\Enum;
4
5
/**
6
 * @author Tomasz Kowalczyk <[email protected]>
7
 * @psalm-immutable
8
 */
9
#[\Attribute(\Attribute::TARGET_CLASS|\Attribute::IS_REPEATABLE)]
10
final class Member
11
{
12
    /** @var string */
13
    public $member;
14
    /** @var int|string */
15
    public $value;
16
17
    /**
18
     * @param string $member
19
     * @param int|string $value
20
     */
21
    public function __construct($member, $value)
22
    {
23
        $this->member = $member;
24
        $this->value = $value;
25
    }
26
}
27