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
|
|||
29 | { |
||
30 | return $this->get('/ips'); |
||
31 | } |
||
32 | } |
||
33 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.