@@ -80,7 +80,7 @@ |
||
| 80 | 80 | 'line' => $this->_exception->getLine() |
| 81 | 81 | ]; |
| 82 | 82 | |
| 83 | - $trace = $this->_exception->getTrace(); |
|
| 83 | + $trace = $this->_exception->getTrace(); |
|
| 84 | 84 | |
| 85 | 85 | if (isset($trace[0]['line']) && $trace[0]['line'] !== $raiser['line']) { |
| 86 | 86 | array_unshift($trace, $raiser); |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | list($class, $action, $permission, $payload) = $this->getRoute($this->request->getPath()); |
| 84 | 84 | |
| 85 | 85 | /** @var AbstractController $class */ |
| 86 | - $class = new $class($this->request); |
|
| 86 | + $class = new $class($this->request); |
|
| 87 | 87 | |
| 88 | 88 | if (!empty($permission)) { |
| 89 | 89 | |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | |
| 334 | 334 | array_splice($var, 0, 1); |
| 335 | 335 | |
| 336 | - if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) { |
|
| 336 | + if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) { |
|
| 337 | 337 | |
| 338 | 338 | return [ |
| 339 | 339 | $data['controller'], |