@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | assert(isset($this[$route->getAction()])); |
| 118 | 118 | |
| 119 | 119 | // call onRouteMatch |
| 120 | - foreach( $this->onRouteMatchListeners as $serviceName) {
|
|
| 120 | + foreach ($this->onRouteMatchListeners as $serviceName) {
|
|
| 121 | 121 | $this[$serviceName]; |
| 122 | 122 | } |
| 123 | 123 | |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | // call onResponse hook |
| 222 | - foreach( $this->onResponseListeners as $serviceName) {
|
|
| 222 | + foreach ($this->onResponseListeners as $serviceName) {
|
|
| 223 | 223 | $this['response'] = $this[$serviceName]; |
| 224 | 224 | } |
| 225 | 225 | |