Completed
Pull Request — master (#6)
by
unknown
03:18
created
src/ServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected function loadConsoleCommands()
66 66
     {
67
-        if(!$this->app->runningInConsole()) {
67
+        if (!$this->app->runningInConsole()) {
68 68
             return;
69 69
         }
70 70
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     protected function loadGuards()
87 87
     {
88 88
         // Skip loading guards if an application running in the console
89
-        if($this->app->runningInConsole()) {
89
+        if ($this->app->runningInConsole()) {
90 90
             return;
91 91
         }
92 92
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             $this->app['auth']->guard('authService')
95 95
         );
96 96
 
97
-        if(!$this->enabled()) {
97
+        if (!$this->enabled()) {
98 98
             $this->app['authService']->setFallbackGuard(
99 99
                 $this->app['auth']->guard('fallback')
100 100
             );
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         $this->app->singleton(AuthService::class);
126 126
 
127
-        $this->app->alias(AuthService::class,'authService');
127
+        $this->app->alias(AuthService::class, 'authService');
128 128
 
129 129
         $this->app->singleton(Mailer::class);
130 130
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         });
149 149
 
150 150
         // Register the fallback driver if service is disabled
151
-        if(!$this->app->runningInConsole() && !$this->enabled()) {
151
+        if (!$this->app->runningInConsole() && !$this->enabled()) {
152 152
             $this->app['auth']->shouldUse('fallback');
153 153
         }
154 154
     }
Please login to merge, or discard this patch.
src/Clients/AbstractClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
     {
278 278
         $stack = HandlerStack::create();
279 279
 
280
-        $stack->push(Middleware::mapRequest(function (RequestInterface $request) {
280
+        $stack->push(Middleware::mapRequest(function(RequestInterface $request) {
281 281
             return $this->request = $request;
282 282
         }));
283 283
 
Please login to merge, or discard this patch.
src/Clients/Mandrill/Builders/Email.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      */
239 239
     protected function buildRecipients(Collection $recipients): array
240 240
     {
241
-        return $recipients->map(function (string $email) {
241
+        return $recipients->map(function(string $email) {
242 242
             return [
243 243
                 'email' => $email,
244 244
                 'type' => 'to'
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
      */
256 256
     protected function buildVariables(Collection $recipients): array
257 257
     {
258
-        return $recipients->map(function (string $email) {
258
+        return $recipients->map(function(string $email) {
259 259
             return [
260 260
                 'rcpt' => $email,
261 261
                 'vars' => $this->userVariables($email)
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
             $this->resolverInstance = new $this->resolver($this->recipients, $this->context);
279 279
         }
280 280
 
281
-        return array_map(function ($variable) use ($email) {
281
+        return array_map(function($variable) use ($email) {
282 282
             return $this->resolverInstance->resolve($variable, $email);
283 283
         }, $this->variables);
284 284
     }
Please login to merge, or discard this patch.