@@ -96,7 +96,7 @@ |
||
96 | 96 | public function getService() |
97 | 97 | { |
98 | 98 | // optionally use shared object |
99 | - if (! is_null($this->serviceObject)) { |
|
99 | + if (!is_null($this->serviceObject)) { |
|
100 | 100 | return $this->serviceObject; |
101 | 101 | } |
102 | 102 | // parse arguments |
@@ -37,7 +37,7 @@ |
||
37 | 37 | // remember arguments |
38 | 38 | $this->argument = $argument; |
39 | 39 | // check argument |
40 | - if (! isset($this->argument['value'])) { |
|
40 | + if (!isset($this->argument['value'])) { |
|
41 | 41 | throw new Exception('No "value" argument'); |
42 | 42 | } |
43 | 43 | } |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | // decorate service identifier |
159 | 159 | $decoratedId = $this->serviceIdDecorator->decorate($id); |
160 | 160 | // check if service exists |
161 | - if (! $this->has($decoratedId)) { |
|
161 | + if (!$this->has($decoratedId)) { |
|
162 | 162 | throw new NotFoundException(sprintf('Service "%s" does not exist', $decoratedId)); |
163 | 163 | } |
164 | 164 | // exit |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | public function __call(string $method, array $arguments) |
245 | 245 | { |
246 | 246 | // disallow any arguments |
247 | - if (! empty($arguments)) { |
|
247 | + if (!empty($arguments)) { |
|
248 | 248 | throw new Exception('Service must be get without arguments'); |
249 | 249 | } |
250 | 250 | // check prefix |
@@ -63,7 +63,7 @@ |
||
63 | 63 | trigger_error('Argument "service" is deprecated and will be removed in version 2.0.0; please use "value" instead', E_USER_NOTICE); |
64 | 64 | } else { |
65 | 65 | // check argument |
66 | - if (! isset($this->argument['value'])) { |
|
66 | + if (!isset($this->argument['value'])) { |
|
67 | 67 | throw new Exception('No "value" argument'); |
68 | 68 | } |
69 | 69 | } |