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 ( 5e78ac...c92182 )
by Leonardo
03:26
created

UseTabpanelMenuPageTrait::enqueueTabpanelAssets()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 16
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 10
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 16
rs 9.9332
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GraphQLAPI\GraphQLAPI\Admin\MenuPages;
6
7
/**
8
 * Menu page that uses tabpanels to organize its content
9
 */
10
trait UseTabpanelMenuPageTrait
11
{
12
    /**
13
     * Enqueue the required assets
14
     */
15
    protected function enqueueTabpanelAssets(): void
16
    {
17
        /**
18
         * Add tabs to the documentation
19
         */
20
        \wp_enqueue_style(
21
            'graphql-api-tabpanel',
22
            \GRAPHQL_API_URL . 'assets/css/tabpanel.css',
23
            array(),
24
            \GRAPHQL_API_VERSION
25
        );
26
        \wp_enqueue_script(
27
            'graphql-api-tabpanel',
28
            \GRAPHQL_API_URL . 'assets/js/tabpanel.js',
29
            array('jquery'),
30
            \GRAPHQL_API_VERSION
31
        );
32
    }
33
}
34