Completed
Push — master ( f62bdf...e30c7e )
by Alexis
01:32
created
src/Provider/SilexUserServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@  discard block
 block discarded – undo
41 41
         $app['silex_user.options'] = [];
42 42
 
43 43
         // Services
44
-        $app['silex_user.user_manager'] = function ($app) {
44
+        $app['silex_user.user_manager'] = function($app) {
45 45
             return new UserManager($app);
46 46
         };
47 47
 
48
-        $app['silex_user.login_manager'] = function ($app) {
48
+        $app['silex_user.login_manager'] = function($app) {
49 49
             return new LoginManager(
50 50
                 $app['security.token_storage'],
51 51
                 $app['security.user_checker'],
@@ -54,15 +54,15 @@  discard block
 block discarded – undo
54 54
             );
55 55
         };
56 56
 
57
-        $app['silex_user.user_provider.username'] = function ($app) {
57
+        $app['silex_user.user_provider.username'] = function($app) {
58 58
             return new UserProvider($app['silex_user.user_manager']);
59 59
         };
60 60
 
61
-        $app['silex_user.user_provider.username_email'] = function ($app) {
61
+        $app['silex_user.user_provider.username_email'] = function($app) {
62 62
             return new EmailUserProvider($app['silex_user.user_manager']);
63 63
         };
64 64
 
65
-        $app['silex_user.mailer'] = function ($app) {
65
+        $app['silex_user.mailer'] = function($app) {
66 66
             if (isset($app['mailer']) && get_class($app['mailer']) === 'Swift_Mailer') {
67 67
                 $parameters = [
68 68
                     'from_email' => [
@@ -77,11 +77,11 @@  discard block
 block discarded – undo
77 77
         };
78 78
 
79 79
         // Controllers
80
-        $app['auth.controller'] = function ($app) {
80
+        $app['auth.controller'] = function($app) {
81 81
             return new AuthController($app);
82 82
         };
83 83
 
84
-        $app['registration.controller'] = function ($app) {
84
+        $app['registration.controller'] = function($app) {
85 85
             return new RegistrationController($app);
86 86
         };
87 87
     }
Please login to merge, or discard this patch.