@@ -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 | } |
@@ -86,7 +86,7 @@ |
||
86 | 86 | ->setAllowedTypes('entity', 'string') |
87 | 87 | ->setAllowedTypes('requirements', 'array') |
88 | 88 | ->setAllowedTypes('options', 'array') |
89 | - ->setNormalizer('route', function (Options $options, $value) { |
|
89 | + ->setNormalizer('route', function(Options $options, $value) { |
|
90 | 90 | if (null === $value && null === $options->offsetGet('pattern')) { |
91 | 91 | throw new InvalidOptionsException('A pattern or a route should be provided'); |
92 | 92 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | 'array', |
53 | 53 | 'string', |
54 | 54 | ]) |
55 | - ->setNormalizer('where', function (Options $options, $value) { |
|
55 | + ->setNormalizer('where', function(Options $options, $value) { |
|
56 | 56 | // Allow the configuration "where: article.enabled" instead of |
57 | 57 | // where: |
58 | 58 | // - article.enabled |