jqh 5 年 前
コミット
3d824be845
1 ファイル変更2 行追加6 行削除
  1. 2 6
      src/Form/Field/PlainInput.php

+ 2 - 6
src/Form/Field/PlainInput.php

@@ -10,18 +10,14 @@ trait PlainInput
 
     public function prepend($string)
     {
-        if (is_null($this->prepend)) {
-            $this->prepend = $string;
-        }
+        $this->prepend = $string;
 
         return $this;
     }
 
     public function append($string)
     {
-        if (is_null($this->append)) {
-            $this->append = $string;
-        }
+        $this->append = $string;
 
         return $this;
     }