@@ -64,7 +64,7 @@ |
||
64 | 64 | ->setAllowedTypes('provider', 'string') |
65 | 65 | ->setAllowedTypes('entity', 'string') |
66 | 66 | ->setAllowedTypes('requirements', 'array') |
67 | - ->setNormalizer('route', function (Options $options, $value) { |
|
67 | + ->setNormalizer('route', function(Options $options, $value) { |
|
68 | 68 | if (null === $value && null === $options->offsetGet('pattern')) { |
69 | 69 | throw new InvalidOptionsException('A pattern or a route should be provided'); |
70 | 70 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | $responseCode = $client->getResponse()->getStatus(); |
60 | 60 | |
61 | - if ((string) $expectedResponseCode !== (string) $responseCode) { |
|
61 | + if ((string)$expectedResponseCode !== (string)$responseCode) { |
|
62 | 62 | throw new Exception('Excepted code '.$expectedResponseCode.', got '.$responseCode.' for route '.$routeName); |
63 | 63 | } |
64 | 64 | } |