@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function canCreate(ContainerInterface $container, $requestedName): bool |
| 27 | 27 | { |
| 28 | - if (! preg_match('/^httplug\.clients\.[^.]+\.http_methods$/', $requestedName)) { |
|
| 28 | + if (!preg_match('/^httplug\.clients\.[^.]+\.http_methods$/', $requestedName)) { |
|
| 29 | 29 | return false; |
| 30 | 30 | } |
| 31 | 31 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null): HttpMethodsClient |
| 51 | 51 | { |
| 52 | - if (! preg_match('/^httplug\.clients\.[^.]+\.http_methods$/', $requestedName)) { |
|
| 52 | + if (!preg_match('/^httplug\.clients\.[^.]+\.http_methods$/', $requestedName)) { |
|
| 53 | 53 | throw new InvalidArgumentException('Invalid service name'); |
| 54 | 54 | } |
| 55 | 55 | |