@@ -81,12 +81,12 @@ |
||
81 | 81 | $result = []; |
82 | 82 | if ($actionType == 'list') { |
83 | 83 | $result = $this->handleListAction($table, $orderby, $data, $responses_fields); |
84 | - }elseif ($actionType == 'detail') { |
|
84 | + } elseif ($actionType == 'detail') { |
|
85 | 85 | $result = $this->handleDetailsAction($data, $parameters, $posts, $responses_fields); |
86 | - }elseif ($actionType == 'delete') { |
|
86 | + } elseif ($actionType == 'delete') { |
|
87 | 87 | $result = $this->handleDeleteAction($table, $data); |
88 | 88 | } |
89 | - }elseif (in_array($actionType, ['save_add', 'save_edit'])) { |
|
89 | + } elseif (in_array($actionType, ['save_add', 'save_edit'])) { |
|
90 | 90 | $rowAssign = array_filter($input_validator, function ($column) use ($table) { |
91 | 91 | return Schema::hasColumn($table, $column); |
92 | 92 | }, ARRAY_FILTER_USE_KEY); |