Completed
Pull Request — master (#3941)
by
unknown
02:23
created
src/Form/Layout/Layout.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Remove reserved fields from form layout.
91 91
      *
92
-     * @param array $fields
92
+     * @param string[] $fields
93 93
      */
94 94
     public function removeReservedFields(array $fields)
95 95
     {
Please login to merge, or discard this patch.
src/Form/Layout/Column.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function removeFields($fields)
50 50
     {
51
-        $this->fields = $this->fields->reject(function (Field $field) use ($fields) {
51
+        $this->fields = $this->fields->reject(function(Field $field) use ($fields) {
52 52
             return in_array($field->column(), $fields);
53 53
         });
54 54
     }
Please login to merge, or discard this patch.
src/Auth/Database/Menu.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $connection = config('admin.database.connection') ?: config('database.default');
67 67
         $orderColumn = DB::connection($connection)->getQueryGrammar()->wrap($this->orderColumn);
68 68
 
69
-        $byOrder = 'ROOT ASC,' . $orderColumn;
69
+        $byOrder = 'ROOT ASC,'.$orderColumn;
70 70
 
71 71
         $query = static::query();
72 72
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             $query->with('roles');
75 75
         }
76 76
 
77
-        return $query->selectRaw('*, ' . $orderColumn . ' ROOT')->orderByRaw($byOrder)->get()->toArray();
77
+        return $query->selectRaw('*, '.$orderColumn.' ROOT')->orderByRaw($byOrder)->get()->toArray();
78 78
     }
79 79
 
80 80
     /**
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     {
97 97
         static::treeBoot();
98 98
 
99
-        static::deleting(function ($model) {
99
+        static::deleting(function($model) {
100 100
             $model->roles()->detach();
101 101
         });
102 102
     }
Please login to merge, or discard this patch.