| Summary: | PHP Doc does not suggest return type from another php doc | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | sparrow Mising name <wrobel> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | kalin.a, zhaozhongwei |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
Could not reproduce this bug. No longer reproduced. I got a proper result. Closing... Kalin Yanev kalin.a@zend.com |
In the example below the second PHP Doc could generate the "@return Zend_Db_Table_Rowset" if it looked into the PHP Doc from previous method /** * Fetch entries by category * * @param integer $categoryId * @return Zend_Db_Table_Rowset */ public function findByCategory($categoryId) { return $this->fetchAll($this->select() ->where('category_id = ?', $categoryId) ->order(array('name', 'id')) ); } /** * * Enter description here ... */ public function findSubjectTypes() { return $this->findByCategory(ClassBook_Model_Dictionary::CATEGORY_SUBJECT_TYPE); }