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
Push — master ( fbb957...b4390b )
by cao
04:17
created
src/Docgen/Swagger/Swagger.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -234,10 +234,10 @@  discard block
 block discarded – undo
234 234
      * @return RefSchemaObject
235 235
      */
236 236
     public function makeTempSchema(Application $app,
237
-                                   ControllerContainer $controller,
238
-                                   $action,
239
-                                   Route $route,
240
-                                   array $arr, $suffix)
237
+                                    ControllerContainer $controller,
238
+                                    $action,
239
+                                    Route $route,
240
+                                    array $arr, $suffix)
241 241
     {
242 242
         $className = self::getShortClassName($controller->getClassName());
243 243
         $name = $className . ucfirst($action) . $suffix;
@@ -293,10 +293,10 @@  discard block
 block discarded – undo
293 293
      * @return RefSchemaObject
294 294
      */
295 295
     public function getRefSchema(Application $app,
296
-                                 ControllerContainer $controller,
297
-                                 $action,
298
-                                 Route $route,
299
-                                 EntityContainer $container)
296
+                                    ControllerContainer $controller,
297
+                                    $action,
298
+                                    Route $route,
299
+                                    EntityContainer $container)
300 300
     {
301 301
         $name = $container->getClassName();
302 302
         if (!isset($this->definitions[$name])) {
@@ -444,10 +444,10 @@  discard block
 block discarded – undo
444 444
      * @return ArraySchemaObject
445 445
      */
446 446
     public function getArraySchema(Application $app,
447
-                                   ControllerContainer $controller,
448
-                                   $action,
449
-                                   Route $route,
450
-                                   ArrayContainer $container)
447
+                                    ControllerContainer $controller,
448
+                                    $action,
449
+                                    Route $route,
450
+                                    ArrayContainer $container)
451 451
     {
452 452
         $schema = new ArraySchemaObject();
453 453
         $itemContainer = $container->getContainer();
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -213,9 +213,9 @@  discard block
 block discarded – undo
213 213
     {
214 214
         if ($content instanceof ReturnMeta || $content instanceof ParamMeta) {
215 215
             return $this->makeExample($content->container);
216
-        }elseif ($content instanceof TypeContainerInterface){
216
+        } elseif ($content instanceof TypeContainerInterface){
217 217
             return $content->makeExample();
218
-        }elseif(is_array($content)) {
218
+        } elseif(is_array($content)) {
219 219
             $res = [];
220 220
             foreach ($content as $k => $v) {
221 221
                 $res[$k] = $this->makeExample($v);
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
                     $paramSchema = new PrimitiveSchemaObject();
371 371
                     if($isFile){
372 372
                         $paramSchema->type = 'file';
373
-                    }else{
373
+                    } else{
374 374
                         $paramSchema->type = self::mapType($param->type);
375 375
                         self::mapValidation($param->validation, $paramSchema);
376 376
                     }
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
         } elseif($container == null){
429 429
             $schema = null ;//new PrimitiveSchemaObject();
430 430
             //$schema->type = null;
431
-        }else {
431
+        } else {
432 432
             $schema = new PrimitiveSchemaObject();
433 433
             //$schema->type = 'mixed';
434 434
         }
Please login to merge, or discard this patch.