@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - 'sentinel' => require __DIR__.'/sentinel.php', |
|
5 | + 'sentinel' => require __DIR__ . '/sentinel.php', |
|
6 | 6 | |
7 | 7 | 'eloquent' => [ |
8 | 8 | 'driver' => $_SERVER['APP_DATABASE_DRIVER'], |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | 'monolog' => [ |
54 | 54 | 'name' => 'app', |
55 | - 'path' => $app->getLogDir().'/'.$app->getEnvironment().'.log', |
|
55 | + 'path' => $app->getLogDir() . '/' . $app->getEnvironment() . '.log', |
|
56 | 56 | 'level' => Monolog\Logger::ERROR |
57 | 57 | ] |
58 | 58 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use App\Middleware\Authorization; |
4 | 4 | use App\Middleware\Cors; |
5 | 5 | |
6 | -$container['auth.middleware'] = function ($container) { |
|
6 | +$container['auth.middleware'] = function($container) { |
|
7 | 7 | return new Authorization($container['oauth'], $container['sentinel']); |
8 | 8 | }; |
9 | 9 |