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.

Code Duplication    Length = 17-17 lines in 3 locations

src/CloudFlare/Organizations/LoadBalancers/Monitors.php 2 locations

@@ 52-68 (lines=17) @@
49
     *                                             'HTTP' and 'HTTPS'.
50
     * @param string|null $description             Object description
51
     */
52
    public function create($organization_identifier, $expected_body, $expected_codes, $method = null, $timeout = null, $path = null, $interval = null, $retries = null, $header = null, $type = null, $description = null)
53
    {
54
        $data = [
55
            'expected_body'  => $expected_body,
56
            'expected_codes' => $expected_codes,
57
            'method'         => $method,
58
            'timeout'        => $timeout,
59
            'path'           => $path,
60
            'interval'       => $interval,
61
            'retries'        => $retries,
62
            'header'         => $header,
63
            'type'           => $type,
64
            'description'    => $description,
65
        ];
66
67
        return $this->post('/organizations/'.$organization_identifier.'/load_balancers/monitors', $data);
68
    }
69
70
    /**
71
     * Monitor details
@@ 104-120 (lines=17) @@
101
     *                                             'HTTP' and 'HTTPS'.
102
     * @param string|null $description             Object description
103
     */
104
    public function update($organization_identifier, $identifier, $expected_body, $expected_codes, $method = null, $timeout = null, $path = null, $interval = null, $retries = null, $header = null, $type = null, $description = null)
105
    {
106
        $data = [
107
            'expected_body'  => $expected_body,
108
            'expected_codes' => $expected_codes,
109
            'method'         => $method,
110
            'timeout'        => $timeout,
111
            'path'           => $path,
112
            'interval'       => $interval,
113
            'retries'        => $retries,
114
            'header'         => $header,
115
            'type'           => $type,
116
            'description'    => $description,
117
        ];
118
119
        return $this->patch('/organizations/'.$organization_identifier.'/load_balancers/monitors/'.$identifier, $data);
120
    }
121
122
    /**
123
     * Delete a monitor

src/CloudFlare/User/LoadBalancers/Monitors.php 1 location

@@ 99-115 (lines=17) @@
96
     *                                    'HTTP' and 'HTTPS'.
97
     * @param string|null $description    Object description
98
     */
99
    public function update($identifier, $expected_body, $expected_codes, $method = null, $timeout = null, $path = null, $interval = null, $retries = null, $header = null, $type = null, $description = null)
100
    {
101
        $data = [
102
            'expected_body'  => $expected_body,
103
            'expected_codes' => $expected_codes,
104
            'method'         => $method,
105
            'timeout'        => $timeout,
106
            'path'           => $path,
107
            'interval'       => $interval,
108
            'retries'        => $retries,
109
            'header'         => $header,
110
            'type'           => $type,
111
            'description'    => $description,
112
        ];
113
114
        return $this->patch('/user/load_balancers/monitors/'.$identifier, $data);
115
    }
116
117
    /**
118
     * Delete a monitor