Zend Framework

[Zend_Dojo_View_Helper_Dojo_Container] wrong returned type of requireModule method

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.0RC2
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Dojo
  • Labels:
    None
  • Fix Version Priority:
    Must Have

Description

class: Zend_Dojo_View_Helper_Dojo_Container
method: requireModule($module)

in the php doc of this method the return tag is:
@return Zend_Dojo_View_Helper_Dojo
while the actual return type is
@return Zend_Dojo_View_Helper_Dojo_Container
(the method returns $this which is Zend_Dojo_View_Helper_Dojo_Container)

this issue may cause wrong code completion in various IDEs (for an example.... Zend Studio for Eclipse )

Activity

Hide
Matthew Weier O'Phinney added a comment -

Scheduling for RC3

Show
Matthew Weier O'Phinney added a comment - Scheduling for RC3
Hide
Matthew Weier O'Phinney added a comment -

All API doc return values fixed in trunk and 1.6 release branch.

Show
Matthew Weier O'Phinney added a comment - All API doc return values fixed in trunk and 1.6 release branch.
Hide
Wil Sinclair added a comment -

Updating for the 1.6.0 release.

Show
Wil Sinclair added a comment - Updating for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: