Completed
Push — master ( 318de6...47ae84 )
by Risan Bagja
02:42
created
src/AuthService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      */
65 65
     public function login(array $credentials, $remember = false)
66 66
     {
67
-        if (! $this->statefulGuard()->attempt($credentials, $remember)) {
67
+        if (!$this->statefulGuard()->attempt($credentials, $remember)) {
68 68
             return $this->eventListener()->userHasFailedToLogIn();
69 69
         }
70 70
 
Please login to merge, or discard this patch.
src/AuthServiceConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         ];
109 109
 
110 110
         foreach ($requiredParams as $param) {
111
-            if (! isset($config[$param])) {
111
+            if (!isset($config[$param])) {
112 112
                 throw new InvalidArgumentException("Missing auth service configuration: $param.");
113 113
             }
114 114
         }
Please login to merge, or discard this patch.
src/AuthServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function registerAuthServiceConfig()
46 46
     {
47
-        $this->app->singleton('AuthService\Contracts\AuthServiceConfigInterface', function ($app) {
47
+        $this->app->singleton('AuthService\Contracts\AuthServiceConfigInterface', function($app) {
48 48
             return \AuthService\AuthServiceConfig::fromArray($app['config']->get('authservice'));
49 49
         });
50 50
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function registerAuthEventListener()
58 58
     {
59
-        $this->app->singleton('AuthService\Contracts\AuthEventListenerInterface', function ($app) {
59
+        $this->app->singleton('AuthService\Contracts\AuthEventListenerInterface', function($app) {
60 60
             $redirector = $app['redirect'];
61 61
             $config = $app->make('AuthService\Contracts\AuthServiceConfigInterface');
62 62
             $eventListenerClass = $config->authEventListenerClass();
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      */
73 73
     protected function registerAuthService()
74 74
     {
75
-        $this->app->singleton('AuthService\Contracts\AuthServiceInterface', function ($app) {
75
+        $this->app->singleton('AuthService\Contracts\AuthServiceInterface', function($app) {
76 76
             $statefulGuard = $app['auth']->guard();
77 77
             $eventListener = $app->make('AuthService\Contracts\AuthEventListenerInterface');
78 78
 
Please login to merge, or discard this patch.