Completed
Push — master ( de48bf...7761d4 )
by Song
02:30
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.