Completed
Push — master ( c2db2b...3cc313 )
by Alexis
02:00
created
app/dependencies.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,21 +24,21 @@  discard block
 block discarded – undo
24 24
 $capsule->setAsGlobal();
25 25
 $capsule->bootEloquent();
26 26
 
27
-$container['db'] = function () use ($capsule) {
27
+$container['db'] = function() use ($capsule) {
28 28
     return $capsule;
29 29
 };
30 30
 
31
-$container['auth'] = function () {
31
+$container['auth'] = function() {
32 32
     $sentinel = new Sentinel(new SentinelBootstrapper(__DIR__ . '/config/sentinel.php'));
33 33
 
34 34
     return $sentinel->getSentinel();
35 35
 };
36 36
 
37
-$container['flash'] = function () {
37
+$container['flash'] = function() {
38 38
     return new Messages();
39 39
 };
40 40
 
41
-$container['csrf'] = function ($container) {
41
+$container['csrf'] = function($container) {
42 42
     $guard = new Guard();
43 43
     $guard->setFailureCallable($container['csrfFailureHandler']);
44 44
 
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
 };
47 47
 
48 48
 // https://github.com/awurth/slim-validation
49
-$container['validator'] = function () {
49
+$container['validator'] = function() {
50 50
     return new Validator();
51 51
 };
52 52
 
53
-$container['view'] = function ($container) {
53
+$container['view'] = function($container) {
54 54
     $config = $container['config'];
55 55
 
56 56
     $view = new Twig($config['twig']['path'], $config['twig']['options']);
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     return $view;
71 71
 };
72 72
 
73
-$container['monolog'] = function ($container) {
73
+$container['monolog'] = function($container) {
74 74
     $config = $container['config']['monolog'];
75 75
 
76 76
     $logger = new Logger($config['name']);
Please login to merge, or discard this patch.