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 ( 5b18e5...d5a27a )
by Leonardo
12:09
created

getInstance()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 7
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GraphQLAPI\GraphQLAPI\Facades\Registries;
6
7
use PoP\Root\Container\ContainerBuilderFactory;
8
use GraphQLAPI\GraphQLAPI\Registries\AccessControlRuleBlockRegistryInterface;
9
10
class AccessControlRuleBlockRegistryFacade
11
{
12
    public static function getInstance(): AccessControlRuleBlockRegistryInterface
13
    {
14
        /**
15
         * @var AccessControlRuleBlockRegistryInterface
16
         */
17
        $service = ContainerBuilderFactory::getInstance()->get(AccessControlRuleBlockRegistryInterface::class);
18
        return $service;
19
    }
20
}
21