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;
     }