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 ( d5a27a...1e0f3a )
by Leonardo
13:55
created

useGraphiQLExplorer()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
nc 2
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GraphQLAPI\GraphQLAPI\ConditionalOnEnvironment\GraphiQLExplorerInCustomEndpointPublicClient\Overrides\Services\Clients;
6
7
use GraphQLAPI\GraphQLAPI\Clients\CustomEndpointClientTrait;
8
use GraphQLAPI\GraphQLAPI\Clients\CustomEndpointGraphiQLClientTrait;
9
use GraphQLByPoP\GraphQLClientsForWP\ConditionalOnEnvironment\UseGraphiQLExplorer\Overrides\Services\Clients\GraphiQLWithExplorerClient;
10
11
class CustomEndpointGraphiQLWithExplorerClient extends GraphiQLWithExplorerClient
12
{
13
    use CustomEndpointClientTrait;
14
    use CustomEndpointGraphiQLClientTrait;
15
16
    /**
17
     * Use GraphiQL Explorer for this screen?
18
     */
19
    protected function useGraphiQLExplorer(): bool
20
    {
21
        return
22
            parent::useGraphiQLExplorer()
23
            && $this->isGraphiQLExplorerOptionEnabled();
24
    }
25
}
26