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 ( 21c599...486f90 )
by Šimon
03:24
created

Deferred::getQueue()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 7
ccs 4
cts 4
cp 1
rs 10
c 2
b 0
f 0
cc 2
nc 2
nop 0
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GraphQL;
6
7
use GraphQL\Executor\Promise\Adapter\SyncPromise;
8
9
class Deferred extends SyncPromise
10
{
11
    /**
12
     * @param callable() : mixed $executor
0 ignored issues
show
Documentation Bug introduced by
The doc comment : mixed at position 0 could not be parsed: Unknown type name ':' at position 0 in : mixed.
Loading history...
13
     */
14
    public static function create(callable $executor) : self
15
    {
16
        return new self($executor);
17
    }
18
19
    /**
20
     * @param callable() : mixed $executor
0 ignored issues
show
Documentation Bug introduced by
The doc comment : mixed at position 0 could not be parsed: Unknown type name ':' at position 0 in : mixed.
Loading history...
21
     */
22 44
    public function __construct(callable $executor)
23
    {
24 44
        parent::__construct($executor);
25 44
    }
26
}
27