Passed
Push — master ( b6aed6...e395be )
by Elf
02:21
created
src/AppIdentifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
         return tap(
24 24
             static::getForUrl(app('request')->getUri()),
25
-            function ($id) {
25
+            function($id) {
26 26
                 app()->instance(static::IDENTIFIER_KEY, $id);
27 27
             }
28 28
         );
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             $pattern = '#^https?://'.preg_quote($root, '#').'([\?/].*)?$#';
54 54
             if (preg_match($pattern, $url)) {
55 55
                 $len = strlen($root);
56
-                if (! isset($length) || $length < $len) {
56
+                if (!isset($length) || $length < $len) {
57 57
                     $length = $len;
58 58
                     $identifier = $id;
59 59
                 }
Please login to merge, or discard this patch.