@@ -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 @@ discard block |
||
| 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 | * |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | ->beforeNormalization() |
| 37 | 37 | ->ifString() |
| 38 | 38 | ->then( |
| 39 | - function ($v) { |
|
| 39 | + function($v) { |
|
| 40 | 40 | return [$v]; |
| 41 | 41 | } |
| 42 | 42 | ) |
@@ -1,4 +1,4 @@ discard block |
||
| 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 | * |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) |
| 41 | 41 | { |
| 42 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 42 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 43 | 43 | |
| 44 | 44 | $loader->load('security/request_voting.yml'); |
| 45 | 45 | |
@@ -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 @@ discard block |
||
| 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 | * |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | $this->assertSame( |
| 170 | 170 | JSON_ERROR_NONE, |
| 171 | 171 | json_last_error(), |
| 172 | - "Not valid JSON: " . json_last_error_msg() . "(" . var_export($content, true) . ")" |
|
| 172 | + "Not valid JSON: ".json_last_error_msg()."(".var_export($content, true).")" |
|
| 173 | 173 | ); |
| 174 | 174 | } |
| 175 | 175 | |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | { |
| 192 | 192 | $uri = $path; |
| 193 | 193 | if (count($params)) { |
| 194 | - $uri = $path . '?' . http_build_query($params); |
|
| 194 | + $uri = $path.'?'.http_build_query($params); |
|
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | return $uri; |
@@ -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 | * |