@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | $routes = []; |
| 55 | 55 | foreach ($pathList as $path) { |
| 56 | 56 | foreach ($this->schema['paths'][$path] as $method => $properties) { |
| 57 | - $handler = $this->handler->getMethodHandler($method, $basePath . $path, $properties); |
|
| 57 | + $handler = $this->handler->getMethodHandler($method, $basePath.$path, $properties); |
|
| 58 | 58 | if (!isset($properties['operationId'])) { |
| 59 | 59 | throw new OperationIdInvalidException('OperationId was not found'); |
| 60 | 60 | } |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | $routes[] = new RoutePattern( |
| 70 | 70 | strtoupper($method), |
| 71 | - $basePath . $path, |
|
| 71 | + $basePath.$path, |
|
| 72 | 72 | $handler, |
| 73 | 73 | $parts[1], |
| 74 | 74 | $parts[0] |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | protected function sortPaths($pathList) |
| 83 | 83 | { |
| 84 | - usort($pathList, function ($left, $right) { |
|
| 84 | + usort($pathList, function($left, $right) { |
|
| 85 | 85 | if (strpos($left, '{') === false && strpos($right, '{') !== false) { |
| 86 | 86 | return -16384; |
| 87 | 87 | } |