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 ( b38aca...ed3c2e )
by Leonardo
06:08 queued 57s
created

ReleaseNotesAboutMenuPage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMenuPageSlug() 0 8 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GraphQLAPI\GraphQLAPI\Admin\MenuPages;
6
7
use PoP\ComponentModel\Facades\Instances\InstanceManagerFacade;
8
9
/**
10
 * Release notes menu page
11
 */
12
class ReleaseNotesAboutMenuPage extends AbstractDocAboutMenuPage
13
{
14
    public function getMenuPageSlug(): string
15
    {
16
        $instanceManager = InstanceManagerFacade::getInstance();
17
        /**
18
         * @var AboutMenuPage
19
         */
20
        $modulesMenuPage = $instanceManager->getInstance(AboutMenuPage::class);
21
        return $modulesMenuPage->getMenuPageSlug();
22
    }
23
}
24