From a16380b9c338e20bc361299929a09cd07f213539 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Mon, 31 Jan 2022 15:32:43 +0100 Subject: [PATCH] fix wrong return-type in `Zend_Form_Element->removeValidator()` --- packages/zend-form/library/Zend/Form/Element.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zend-form/library/Zend/Form/Element.php b/packages/zend-form/library/Zend/Form/Element.php index 290d42678..a53ddcf2c 100644 --- a/packages/zend-form/library/Zend/Form/Element.php +++ b/packages/zend-form/library/Zend/Form/Element.php @@ -1312,7 +1312,7 @@ public function getValidators() * Remove a single validator by name * * @param string $name - * @return bool + * @return $this */ public function removeValidator($name) {