Passed
Push — master ( c89cd3...8465ed )
by Cesar
03:29
created
src/Middlewares/MagiclinkMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function handle(Request $request, Closure $next)
13 13
     {
14
-        if($request->method() === 'HEAD') {
14
+        if ($request->method() === 'HEAD') {
15 15
             return $next($request);
16 16
         }
17 17
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
         $magicLink = MagicLink::getValidMagicLinkByToken($token);
21 21
 
22
-        if (! $magicLink) {
22
+        if ( ! $magicLink) {
23 23
             return $this->badResponse();
24 24
         }
25 25
 
Please login to merge, or discard this patch.