ZF-2852: Element->clearValidators could return $this for conistency
Description
Index: Form/Element.php
===================================================================
--- Form/Element.php (revision 8741)
+++ Form/Element.php (working copy)
@@ -1125,6 +1125,7 @@
public function clearValidators()
{
$this->_validators = array();
+ return $this;
}
Comments
Posted by Alexander Lanin (alexl) on 2008-03-14T07:17:29.000+0000
not sure who assigned this to Wil, but I just removed the assignment because as far as I can see in the Change History it must have been me... no Idea how & why :D
Posted by Matthew Weier O'Phinney (matthew) on 2008-03-14T08:00:13.000+0000
Scheduling for 1.5.1.
Posted by Matthew Weier O'Phinney (matthew) on 2008-03-21T16:16:45.000+0000
Added in trunk and 1.5 release branch
Posted by Wil Sinclair (wil) on 2008-03-21T17:34:14.000+0000
I'm assuming this fix is merged to the 1.5 release branch for release with 1.5.1. Please update JIRA if this is not the case.