Procházet zdrojové kódy

Apply fixes from StyleCI

Jiang Qinghua před 5 roky
rodič
revize
dd2e52aea4
2 změnil soubory, kde provedl 4 přidání a 5 odebrání
  1. 1 0
      src/Show.php
  2. 3 5
      src/Show/Row.php

+ 1 - 0
src/Show.php

@@ -714,6 +714,7 @@ class Show implements Renderable
     public function row(Closure $callback)
     {
         $this->rows->push(new Row($callback, $this));
+
         return $this;
     }
 

+ 3 - 5
src/Show/Row.php

@@ -8,7 +8,6 @@ use Illuminate\Support\Collection;
 
 class Row implements Renderable
 {
-
     /**
      * Callback for add field to current row.s.
      *
@@ -70,7 +69,6 @@ class Row implements Renderable
         return $this->fields;
     }
 
-
     /**
      * Set width for a incomming field.
      *
@@ -95,11 +93,12 @@ class Row implements Renderable
     {
         $field = $this->show->field($name, $label);
         $this->pushField($field);
+
         return $field;
     }
 
     /**
-     * Add field
+     * Add field.
      * @param $name
      *
      * @return \Dcat\Admin\Show\Field|\Illuminate\Support\Collection
@@ -108,6 +107,7 @@ class Row implements Renderable
     {
         $field = $this->show->__get($name);
         $this->pushField($field);
+
         return $field;
     }
 
@@ -136,6 +136,4 @@ class Row implements Renderable
             'element' => $field,
         ]);
     }
-
-
 }