@@ -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 | /** |
@@ -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 | * |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | { |
143 | 143 | foreach ($this->definition->parameters as $i => $paramDefinition) { |
144 | 144 | if ($paramDefinition->name === $parameterName) { |
145 | - return '/' . implode('/', [ |
|
145 | + return '/'.implode('/', [ |
|
146 | 146 | 'paths', |
147 | 147 | str_replace(['~', '/'], ['~0', '~1'], $this->getPath()), |
148 | 148 | $this->getMethod(), |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | { |
194 | 194 | $segment = str_replace(['~0', '~1'], ['~', '/'], array_shift($segments)); |
195 | 195 | if (property_exists($context, $segment)) { |
196 | - $pointer .= '/' . $segment; |
|
196 | + $pointer .= '/'.$segment; |
|
197 | 197 | if (!count($segments)) { |
198 | 198 | return $pointer; |
199 | 199 | } |