Passed
Push — master ( a22a42...517237 )
by Tom
01:34 queued 10s
created
src/LinkBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@  discard block
 block discarded – undo
41 41
             case 'destroy':
42 42
             case 'update':
43 43
             case 'show':
44
-                $params = [$model->getRouteKey() => $model->getAttribute((string)$model->getKeyName())];
44
+                $params = [$model->getRouteKey() => $model->getAttribute((string) $model->getKeyName())];
45 45
                 break;
46 46
             case 'show.extra':
47 47
                 $params = [
48
-                    $model->getRouteKey() => $model->getAttribute((string)$model->getKeyName()),
48
+                    $model->getRouteKey() => $model->getAttribute((string) $model->getKeyName()),
49 49
                     'extra' => $method
50 50
                 ];
51 51
                 break;
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
 
54 54
         // Get the methods applicable to the route, ignoring HEAD and PATCH.
55 55
         $methods = collect($route->methods());
56
-        $methods = $methods->filter(static function ($item) {
56
+        $methods = $methods->filter(static function($item) {
57 57
             return !in_array($item, ['HEAD', 'PATCH']);
58
-        })->map(static function ($str) {
58
+        })->map(static function($str) {
59 59
             return strtolower($str);
60 60
         });
61 61
 
Please login to merge, or discard this patch.