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.
Completed
Push — master ( 229871...9bb09c )
by James
02:41
created

src/CloudFlare/IPs.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace Cloudflare;
4
5
/**
6
 * CloudFlare API wrapper
7
 *
8
 * CloudFlare IPs
9
 * CloudFlare IP space
10
 *
11
 * @author James Bell <[email protected]>
12
 *
13
 * @version 1
14
 */
15
class IPs extends Api
16
{
17
    /**
18
     * Default permissions level
19
     *
20
     * @var array
21
     */
22
    protected $permission_level = ['read' => null, 'edit' => null];
23
24
    /**
25
     * CloudFlare IPs
26
     * Get CloudFlare IPs
27
     */
28
    public function ips($identifier)
0 ignored issues
show
The parameter $identifier is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
29
    {
30
        return $this->get('/ips');
31
    }
32
}
33