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 ( ef5f1c...ddc127 )
by Leonardo
03:27
created

GraphiQLWithExplorerClient::useGraphiQLExplorer()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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