@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | { |
208 | 208 | $application = new \Mezon\Application\Application(); |
209 | 209 | |
210 | - $application->fly = function () { |
|
210 | + $application->fly = function() { |
|
211 | 211 | return 'OK!'; |
212 | 212 | }; |
213 | 213 | |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | // setup |
233 | 233 | $application = new \Mezon\Application\Application(); |
234 | 234 | |
235 | - $application->fly = function () { |
|
235 | + $application->fly = function() { |
|
236 | 236 | return 'OK!'; |
237 | 237 | }; |
238 | 238 |
@@ -44,12 +44,12 @@ |
||
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 |