Completed
Push — master ( f5a087...fbf1fa )
by Song
02:41
created
src/Widgets/Form.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
      */
276 276
     public function setWidth($fieldWidth = 8, $labelWidth = 2)
277 277
     {
278
-        collect($this->fields)->each(function ($field) use ($fieldWidth, $labelWidth) {
278
+        collect($this->fields)->each(function($field) use ($fieldWidth, $labelWidth) {
279 279
             /* @var Field $field  */
280 280
             $field->setWidth($fieldWidth, $labelWidth);
281 281
         });
@@ -446,13 +446,13 @@  discard block
 block discarded – undo
446 446
      */
447 447
     public function __call($method, $arguments)
448 448
     {
449
-        if (! $this->hasField($method)) {
449
+        if (!$this->hasField($method)) {
450 450
             return $this;
451 451
         }
452 452
 
453 453
         $class = BaseForm::$availableFields[$method];
454 454
 
455
-        return tap(new $class(...$arguments), function ($field) {
455
+        return tap(new $class(...$arguments), function($field) {
456 456
             $this->pushField($field);
457 457
         });
458 458
     }
Please login to merge, or discard this patch.