@@ -268,7 +268,7 @@ |
||
| 268 | 268 | * @return boolean |
| 269 | 269 | * @codeCoverageIgnore |
| 270 | 270 | */ |
| 271 | - private function _addValidators(AbstractType &$typeClass, array $definition) |
|
| 271 | + private function _addValidators(AbstractType & $typeClass, array $definition) |
|
| 272 | 272 | { |
| 273 | 273 | if (!empty($definition['validator'])) { |
| 274 | 274 | |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | list($class, $action, $permission, $payload) = $this->_getRoute($this->request->getPath()); |
| 88 | 88 | |
| 89 | 89 | /** @var AbstractController $class */ |
| 90 | - $class = new $class($this->request); |
|
| 90 | + $class = new $class($this->request); |
|
| 91 | 91 | |
| 92 | 92 | if (!empty($permission)) { |
| 93 | 93 | |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | |
| 293 | 293 | array_splice($var, 0, 1); |
| 294 | 294 | |
| 295 | - if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) { |
|
| 295 | + if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) { |
|
| 296 | 296 | |
| 297 | 297 | return [ |
| 298 | 298 | $data['controller'], |