@@ -44,12 +44,12 @@ discard block |
||
44 | 44 | $reflector = new \ReflectionClass(get_class($this)); |
45 | 45 | $classPath = dirname($reflector->getFileName()); |
46 | 46 | |
47 | - if (file_exists($classPath.'/conf/routes.php')) { |
|
48 | - $this->loadRoutesFromConfig($classPath.'/conf/routes.php'); |
|
47 | + if (file_exists($classPath . '/conf/routes.php')) { |
|
48 | + $this->loadRoutesFromConfig($classPath . '/conf/routes.php'); |
|
49 | 49 | } |
50 | 50 | |
51 | - if (file_exists($classPath.'/conf/routes.json')) { |
|
52 | - $this->loadRoutesFromConfig($classPath.'/conf/routes.json'); |
|
51 | + if (file_exists($classPath . '/conf/routes.json')) { |
|
52 | + $this->loadRoutesFromConfig($classPath . '/conf/routes.json'); |
|
53 | 53 | } |
54 | 54 | } |
55 | 55 | |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | */ |
185 | 185 | public function handleException(\Exception $e): void |
186 | 186 | { |
187 | - print('<pre>' . $e->getMessage().'<br/>'.$this->formatCallStack($e)); |
|
187 | + print('<pre>' . $e->getMessage() . '<br/>' . $this->formatCallStack($e)); |
|
188 | 188 | } |
189 | 189 | |
190 | 190 | /** |