@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * get resource to grid |
9 | 9 | */ |
10 | - protected function getResource($slice){ |
|
10 | + protected function getResource($slice) { |
|
11 | 11 | // create uri |
12 | 12 | $segments = []; |
13 | 13 |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | */ |
194 | 194 | public function setWidth($fieldWidth = 8, $labelWidth = 2) |
195 | 195 | { |
196 | - collect($this->fields)->each(function ($field) use ($fieldWidth, $labelWidth) { |
|
196 | + collect($this->fields)->each(function($field) use ($fieldWidth, $labelWidth) { |
|
197 | 197 | /* @var Field $field */ |
198 | 198 | $field->setWidth($fieldWidth, $labelWidth); |
199 | 199 | }); |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | $html = []; |
271 | 271 | foreach ($attributes as $key => $val) { |
272 | 272 | // set action as absolute url |
273 | - if($key == 'action'){ |
|
273 | + if ($key == 'action') { |
|
274 | 274 | $val = url($val); |
275 | 275 | } |
276 | 276 |