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.

CertificatePacks::certificate_packs()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Cloudflare\Zone\SSL;
4
5
use Cloudflare\Api;
6
use Cloudflare\Zone;
7
8
/**
9
 * CloudFlare API wrapper
10
 *
11
 * Certificate Packs
12
 *
13
 * @author James Bell <[email protected]>
14
 *
15
 * @version 1
16
 */
17
class CertificatePacks extends Api
18
{
19
    /**
20
     * List all certificate packs (permission needed: #ssl:read)
21
     * For a given zone, list all certificate packs
22
     *
23
     * @param string $identifier
24
     */
25
    public function certificate_packs($identifier)
26
    {
27
        return $this->get('/zones/'.$identifier.'/ssl/certificate_packs');
28
    }
29
}
30