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
Pull Request — master (#54)
by James
03:18 queued 01:15
created
src/CloudFlare/Api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
         $method = (is_null($method) ? 'get' : $method);
176 176
 
177 177
         //Removes null entries
178
-        $data = array_filter($data, function ($val) {
178
+        $data = array_filter($data, function($val){
179 179
             return !is_null($val);
180 180
         });
181 181
 
Please login to merge, or discard this patch.
src/CloudFlare/User/LoadBalancers/Monitors.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -33,18 +33,18 @@  discard block
 block discarded – undo
33 33
      * @param string      $expected_body  A case-insensitive substring to match in the body of the probe
34 34
      *                                    response to declare an origin as up
35 35
      * @param string      $expected_codes The expected HTTP response code or code range for the probe
36
-     * @param string|null $method         The HTTP method to use for the health check.
37
-     * @param int|null    $timeout        The timeout (in seconds) before marking the health check as failed
38
-     * @param string|null $path           The endpoint path to health check against.
39
-     * @param int|null    $interval       The interval between each health check. Shorter intervals may improve failover
36
+     * @param string $method         The HTTP method to use for the health check.
37
+     * @param string|null    $timeout        The timeout (in seconds) before marking the health check as failed
38
+     * @param integer|null $path           The endpoint path to health check against.
39
+     * @param string|null    $interval       The interval between each health check. Shorter intervals may improve failover
40 40
      *                                    time, but will increase load on the origins as we check from multiple locations.
41 41
      * @param int|null    $retries        The number of retries to attempt in case of a timeout before marking the origin
42 42
      *                                    as unhealthy. Retries are attempted immediately.
43
-     * @param array|null  $header         The HTTP request headers to send in the health check. It is recommended you set
43
+     * @param integer|null  $header         The HTTP request headers to send in the health check. It is recommended you set
44 44
      *                                    a Host header by default. The User-Agent header cannot be overridden.
45 45
      * @param int|null    $type           The protocol to use for the healthcheck. Currently supported protocols are
46 46
      *                                    'HTTP' and 'HTTPS'.
47
-     * @param string|null $description    Object description
47
+     * @param integer|null $description    Object description
48 48
      */
49 49
     public function create($expected_body, $expected_codes, $method = null, $timeout = null, $path = null, $interval = null, $retries = null, $header = null, $type = null, $description = null)
50 50
     {
@@ -83,18 +83,18 @@  discard block
 block discarded – undo
83 83
      * @param string      $expected_body  A case-insensitive substring to match in the body of the probe
84 84
      *                                    response to declare an origin as up
85 85
      * @param string      $expected_codes The expected HTTP response code or code range for the probe
86
-     * @param string|null $method         The HTTP method to use for the health check.
87
-     * @param int|null    $timeout        The timeout (in seconds) before marking the health check as failed
88
-     * @param string|null $path           The endpoint path to health check against.
89
-     * @param int|null    $interval       The interval between each health check. Shorter intervals may improve failover
86
+     * @param string $method         The HTTP method to use for the health check.
87
+     * @param string|null    $timeout        The timeout (in seconds) before marking the health check as failed
88
+     * @param integer|null $path           The endpoint path to health check against.
89
+     * @param string|null    $interval       The interval between each health check. Shorter intervals may improve failover
90 90
      *                                    time, but will increase load on the origins as we check from multiple locations.
91 91
      * @param int|null    $retries        The number of retries to attempt in case of a timeout before marking the origin
92 92
      *                                    as unhealthy. Retries are attempted immediately.
93
-     * @param array|null  $header         The HTTP request headers to send in the health check. It is recommended you set
93
+     * @param integer|null  $header         The HTTP request headers to send in the health check. It is recommended you set
94 94
      *                                    a Host header by default. The User-Agent header cannot be overridden.
95 95
      * @param int|null    $type           The protocol to use for the healthcheck. Currently supported protocols are
96 96
      *                                    'HTTP' and 'HTTPS'.
97
-     * @param string|null $description    Object description
97
+     * @param integer|null $description    Object description
98 98
      */
99 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 100
     {
Please login to merge, or discard this patch.
src/CloudFlare/User/LoadBalancers/Pools.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,13 +31,13 @@  discard block
 block discarded – undo
31 31
      * Create a new pool
32 32
      *
33 33
      * @param string      $name               Object name
34
-     * @param array       $origins            A list of origins contained in the pool.
34
+     * @param string       $origins            A list of origins contained in the pool.
35 35
      *                                        Traffic destined to the pool is balanced across all
36 36
      *                                        available origins contained in the pool (as long as the pool
37 37
      *                                        is considered available).
38 38
      * @param string|null $description        Object description
39
-     * @param bool|null   $enabled            Whether this pool is enabled or not.
40
-     * @param string|null $monitor            ID of the monitor object to use for monitoring the health
39
+     * @param string|null   $enabled            Whether this pool is enabled or not.
40
+     * @param boolean|null $monitor            ID of the monitor object to use for monitoring the health
41 41
      *                                        status of origins inside this pool.
42 42
      * @param string|null $notification_email ID of the notifier object to use for notifications relating
43 43
      *                                        to the health status of origins inside this pool.
@@ -73,13 +73,13 @@  discard block
 block discarded – undo
73 73
      *
74 74
      * @param string      $identifier
75 75
      * @param string      $name               Object name
76
-     * @param array       $origins            A list of origins contained in the pool.
76
+     * @param string       $origins            A list of origins contained in the pool.
77 77
      *                                        Traffic destined to the pool is balanced across all
78 78
      *                                        available origins contained in the pool (as long as the pool
79 79
      *                                        is considered available).
80 80
      * @param string|null $description        Object description
81
-     * @param bool|null   $enabled            Whether this pool is enabled or not.
82
-     * @param string|null $monitor            ID of the monitor object to use for monitoring the health
81
+     * @param string|null   $enabled            Whether this pool is enabled or not.
82
+     * @param boolean|null $monitor            ID of the monitor object to use for monitoring the health
83 83
      *                                        status of origins inside this pool.
84 84
      * @param string|null $notification_email ID of the notifier object to use for notifications relating
85 85
      *                                        to the health status of origins inside this pool.
Please login to merge, or discard this patch.