@@ -23,25 +23,25 @@ discard block |
||
| 23 | 23 | $capsule->setAsGlobal(); |
| 24 | 24 | $capsule->bootEloquent(); |
| 25 | 25 | |
| 26 | -$container['db'] = function () use ($capsule) { |
|
| 26 | +$container['db'] = function() use ($capsule) { |
|
| 27 | 27 | return $capsule; |
| 28 | 28 | }; |
| 29 | 29 | |
| 30 | -$container['auth'] = function () { |
|
| 30 | +$container['auth'] = function() { |
|
| 31 | 31 | $sentinel = new Sentinel(new SentinelBootstrapper(__DIR__ . '/sentinel.php')); |
| 32 | 32 | |
| 33 | 33 | return $sentinel->getSentinel(); |
| 34 | 34 | }; |
| 35 | 35 | |
| 36 | -$container['flash'] = function () { |
|
| 36 | +$container['flash'] = function() { |
|
| 37 | 37 | return new Messages(); |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | -$container['validator'] = function () { |
|
| 40 | +$container['validator'] = function() { |
|
| 41 | 41 | return new Validator(); |
| 42 | 42 | }; |
| 43 | 43 | |
| 44 | -$container['view'] = function ($container) { |
|
| 44 | +$container['view'] = function($container) { |
|
| 45 | 45 | $settings = $container['settings']; |
| 46 | 46 | |
| 47 | 47 | $view = new Twig( |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | return $view; |
| 67 | 67 | }; |
| 68 | 68 | |
| 69 | -$container['monolog'] = function ($container) { |
|
| 69 | +$container['monolog'] = function($container) { |
|
| 70 | 70 | $settings = $container['settings']['monolog']; |
| 71 | 71 | |
| 72 | 72 | $logger = new Logger($settings['name']); |