Completed
Push — master ( 454a32...82bcf8 )
by Alexis
02:09
created
src/Provider/SilexUserServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $app['silex_user.options'] = [];
68 68
 
69 69
         // Services
70
-        $app['silex_user.user_manager'] = function ($app) {
70
+        $app['silex_user.user_manager'] = function($app) {
71 71
             $this->validateOptions($app);
72 72
 
73 73
             return new UserManager(
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             );
78 78
         };
79 79
 
80
-        $app['silex_user.login_manager'] = function ($app) {
80
+        $app['silex_user.login_manager'] = function($app) {
81 81
             return new LoginManager(
82 82
                 $app['security.token_storage'],
83 83
                 $app['security.user_checker'],
@@ -86,15 +86,15 @@  discard block
 block discarded – undo
86 86
             );
87 87
         };
88 88
 
89
-        $app['silex_user.user_provider.username'] = function ($app) {
89
+        $app['silex_user.user_provider.username'] = function($app) {
90 90
             return new UserProvider($app['silex_user.user_manager']);
91 91
         };
92 92
 
93
-        $app['silex_user.user_provider.username_email'] = function ($app) {
93
+        $app['silex_user.user_provider.username_email'] = function($app) {
94 94
             return new EmailUserProvider($app['silex_user.user_manager']);
95 95
         };
96 96
 
97
-        $app['silex_user.mailer'] = function ($app) {
97
+        $app['silex_user.mailer'] = function($app) {
98 98
             if (isset($app['mailer']) && get_class($app['mailer']) === 'Swift_Mailer') {
99 99
                 $parameters = [
100 100
                     'from_email' => [
@@ -109,11 +109,11 @@  discard block
 block discarded – undo
109 109
         };
110 110
 
111 111
         // Controllers
112
-        $app['auth.controller'] = function ($app) {
112
+        $app['auth.controller'] = function($app) {
113 113
             return new AuthController($app);
114 114
         };
115 115
 
116
-        $app['registration.controller'] = function ($app) {
116
+        $app['registration.controller'] = function($app) {
117 117
             return new RegistrationController($app);
118 118
         };
119 119
     }
Please login to merge, or discard this patch.