ZF-11655: Zend_View_Helper_FormElement::getTranslator() has wrong return type documented

Issue Type: Patch Created: 2011-08-10T14:00:12.000+0000 Last Updated: 2012-05-29T19:52:39.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: David Fuhr (davidfuhr) Assignee: Frank Brückner (frosch) Tags: - Zend_Form

  • Zend_View
  • FixForZF1.12

Related issues: Attachments: - FormElement.php.patch


<pre class="literal">
### Eclipse Workspace Patch 1.0
#P ZendFramework-trunk
Index: library/Zend/View/Helper/FormElement.php
--- library/Zend/View/Helper/FormElement.php    (Revision 24359)
+++ library/Zend/View/Helper/FormElement.php    (Arbeitskopie)
@@ -44,7 +44,7 @@
      * Get translator
-     * @return Zend_Translate
+     * @return Zend_Translate_Adapter
     public function getTranslator()


Posted by Frank Brückner (frosch) on 2012-05-11T15:08:32.000+0000

Patch added.

Posted by Rob Allen (rob) on 2012-05-29T19:52:39.000+0000

Fixed in SVN r24823.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.