Completed
Pull Request — master (#110)
by
unknown
02:27
created
src/Controllers/MenuController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function index()
25 25
     {
26
-        return Admin::content(function (Content $content) {
26
+        return Admin::content(function(Content $content) {
27 27
             $content->header(trans('admin::lang.menu'));
28 28
             $content->description(trans('admin::lang.list'));
29 29
 
30
-            $content->row(function (Row $row) {
31
-                $row->column(5, function (Column $column) {
30
+            $content->row(function(Row $row) {
31
+                $row->column(5, function(Column $column) {
32 32
                     $column->append($this->callout());
33 33
 
34 34
                     $form = new \Encore\Admin\Widgets\Form();
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function edit($id)
64 64
     {
65
-        return Admin::content(function (Content $content) use ($id) {
65
+        return Admin::content(function(Content $content) use ($id) {
66 66
             $content->header(trans('admin::lang.menu'));
67 67
             $content->description(trans('admin::lang.edit'));
68 68
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function form()
118 118
     {
119
-        return Admin::form(MenuModel::class, function (Form $form) {
119
+        return Admin::form(MenuModel::class, function(Form $form) {
120 120
             $form->display('id', 'ID');
121 121
 
122 122
             $options = [0 => 'Root'] + MenuModel::buildSelectOptions();
Please login to merge, or discard this patch.
src/Grid/Exporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     protected function sanitize(array $row)
70 70
     {
71
-        return collect($row)->reject(function ($val, $_) {
71
+        return collect($row)->reject(function($val, $_) {
72 72
 
73 73
             return is_array($val) && !Arr::isAssoc($val);
74 74
 
Please login to merge, or discard this patch.