Completed
Pull Request — master (#2988)
by
unknown
02:27
created
src/Traits/Resource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
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
         
Please login to merge, or discard this patch.
src/Widgets/Form.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.