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.
Passed
Pull Request — master (#18)
by
unknown
20:49
created
src/LeadCommerce/Shopware/SDK/Query/Base.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         $content = $content->data;
93 93
 
94 94
         if (is_array($content)) {
95
-            return array_map(function ($item) {
95
+            return array_map(function($item) {
96 96
                 return $this->createEntity($item);
97 97
             }, $content);
98 98
         } else {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Fetch and build entity.
88 88
      *
89
-     * @param $uri
89
+     * @param string $uri
90 90
      * @param string $method
91 91
      * @param null   $body
92 92
      * @param array  $headers
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      * @param null   $body
252 252
      * @param array  $headers
253 253
      *
254
-     * @return mixed|ResponseInterface
254
+     * @return ResponseInterface
255 255
      */
256 256
     protected function fetchSimple($uri, $method = 'GET', $body = null, $headers = [])
257 257
     {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     /**
262 262
      * Fetch as json object.
263 263
      *
264
-     * @param $uri
264
+     * @param string $uri
265 265
      * @param string $method
266 266
      * @param null   $body
267 267
      * @param array  $headers
Please login to merge, or discard this patch.
src/LeadCommerce/Shopware/SDK/Entity/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             }
56 56
         }
57 57
 
58
-        $array = array_filter($array, function ($value) {
58
+        $array = array_filter($array, function($value) {
59 59
             return $value !== null;
60 60
         });
61 61
 
Please login to merge, or discard this patch.