@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace KleijnWeb\SwaggerBundle\Routing; |
| 10 | 10 | |
| 11 | 11 | use KleijnWeb\SwaggerBundle\Document\DocumentRepository; |
| 12 | -use KleijnWeb\SwaggerBundle\Document\OperationObject; |
|
| 13 | 12 | use KleijnWeb\SwaggerBundle\Document\SwaggerDocument; |
| 14 | 13 | use Symfony\Component\Config\Loader\Loader; |
| 15 | 14 | use Symfony\Component\Routing\Route; |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | $router, |
| 99 | 99 | $routerController |
| 100 | 100 | ); |
| 101 | - $defaults = [ |
|
| 101 | + $defaults = [ |
|
| 102 | 102 | '_controller' => $controllerKey, |
| 103 | 103 | '_definition' => $resource, |
| 104 | 104 | '_swagger_path' => $path |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | break; |
| 141 | 141 | } |
| 142 | 142 | if (isset($paramDefinition->enum)) { |
| 143 | - $requirements[$paramDefinition->name] = '(' . |
|
| 143 | + $requirements[$paramDefinition->name] = '('. |
|
| 144 | 144 | implode('|', $paramDefinition->enum) |
| 145 | 145 | . ')'; |
| 146 | 146 | break; |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | */ |
| 54 | 54 | protected function qualify(string $resourceNamespace, string $typeName): string |
| 55 | 55 | { |
| 56 | - return ltrim($resourceNamespace . '\\' . $typeName, '\\'); |
|
| 56 | + return ltrim($resourceNamespace.'\\'.$typeName, '\\'); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |