@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Construct |
13 | 13 | * |
14 | - */ |
|
14 | + */ |
|
15 | 15 | public function __construct() |
16 | 16 | { |
17 | 17 |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__ . '/../vendor/autoload.php'; |
|
3 | +include __DIR__.'/../vendor/autoload.php'; |
|
4 | 4 | |
5 | 5 | use League\Route\Http\Exception\NotFoundException; |
6 | 6 | |
7 | 7 | // ENV loading |
8 | 8 | josegonzalez\Dotenv\Loader::load([ |
9 | - 'filepath' => __DIR__ . '/../.env', |
|
9 | + 'filepath' => __DIR__.'/../.env', |
|
10 | 10 | 'toEnv' => true |
11 | 11 | ]); |
12 | 12 | |
@@ -21,10 +21,10 @@ discard block |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | // Container |
24 | -$container = include __DIR__ . '/../src/container.php'; |
|
24 | +$container = include __DIR__.'/../src/container.php'; |
|
25 | 25 | |
26 | 26 | // Routes |
27 | -$router = include __DIR__ . '/../src/routes.php'; |
|
27 | +$router = include __DIR__.'/../src/routes.php'; |
|
28 | 28 | |
29 | 29 | // FIRE!!! |
30 | 30 | try { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | } catch (\Exception $e) { |
45 | 45 | $response = $container->get('Zend\Diactoros\Response'); |
46 | 46 | $response->getBody()->write( |
47 | - 'An error occured! ' . $e->getMessage() |
|
47 | + 'An error occured! '.$e->getMessage() |
|
48 | 48 | ); |
49 | 49 | |
50 | 50 | $logger = $container->get('Monolog\Logger'); |