@@ -184,12 +184,12 @@ discard block |
||
184 | 184 | try { |
185 | 185 | /** @var \Ffcms\Core\Arch\Controller $callClass */ |
186 | 186 | $callClass = $this->getCallbackClass(); |
187 | - $callMethod = 'action' . self::$Request->getAction(); |
|
187 | + $callMethod = 'action'.self::$Request->getAction(); |
|
188 | 188 | $arguments = self::$Request->getArguments(); |
189 | 189 | |
190 | 190 | // check if callback method (action) is exist in class object |
191 | 191 | if (!method_exists($callClass, $callMethod)) { |
192 | - throw new NotFoundException('Method "' . App::$Security->strip_tags($callMethod) . '()" not founded in "' . get_class($callClass) . '"'); |
|
192 | + throw new NotFoundException('Method "'.App::$Security->strip_tags($callMethod).'()" not founded in "'.get_class($callClass).'"'); |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | // check if method arguments counts equals passed count |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | $response = $e->display(); |
221 | 221 | } else { // or hook exception to system based :))) |
222 | 222 | if (App::$Debug) { |
223 | - $msg = $e->getMessage() . $e->getTraceAsString(); |
|
223 | + $msg = $e->getMessage().$e->getTraceAsString(); |
|
224 | 224 | $response = (new NativeException($msg))->display(); |
225 | 225 | } else { |
226 | 226 | $response = (new NativeException($e->getMessage()))->display(); |
@@ -242,9 +242,9 @@ discard block |
||
242 | 242 | private function getCallbackClass() |
243 | 243 | { |
244 | 244 | // define callback class namespace/name full path |
245 | - $cName = (self::$Request->getCallbackAlias() ?? '\Apps\Controller\\' . env_name . '\\' . self::$Request->getController()); |
|
245 | + $cName = (self::$Request->getCallbackAlias() ?? '\Apps\Controller\\'.env_name.'\\'.self::$Request->getController()); |
|
246 | 246 | if (!class_exists($cName)) { |
247 | - throw new NotFoundException('Callback class not found: ' . App::$Security->strip_tags($cName)); |
|
247 | + throw new NotFoundException('Callback class not found: '.App::$Security->strip_tags($cName)); |
|
248 | 248 | } |
249 | 249 | |
250 | 250 | return new $cName; |