Skip to content

Commit 37171ae

Browse files
committed
Fixed typo on form method.
1 parent 1f1bdf7 commit 37171ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Forms/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public function getCleanedField(string $field_name)
246246
* @param string $field_name Name of field to check
247247
* @return boolean
248248
*/
249-
public function hasError($field_name)
249+
public function hasErrors($field_name)
250250
{
251251
return array_key_exists($field_name, $this->errors);
252252
}

0 commit comments

Comments
 (0)