jqh 5 年之前
父節點
當前提交
158171d2c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Form/Field/Text.php

+ 1 - 1
src/Form/Field/Text.php

@@ -54,7 +54,7 @@ class Text extends Field
      * @param string $error
      * @return $this
      */
-    public function confirm($field, ?string $error = null)
+    public function same($field, ?string $error = null)
     {
         $field = $field instanceof Field ? $field : $this->form->field($field);
         $name  = $field->column();