Details
-
Type:
Docs: Problem
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9.0
-
Component/s: Zend_Dom_Query
-
Labels:None
-
Language:English
Description
The docblock for Zend_Dom_Query_Css2XPath::transform() indicates that the only return type should be a string. However, when multiple expressions are specified, it is possible for it to return an array. It appears from its test suite that this is expected behavior. See the test suite method testTransformShouldReturnMultiplePathsWhenExpressionContainsCommas(). The docblock should be corrected to reflect this.
Attachments
Issue Links
| This issue is related to: | ||||
| ZF-6281 | Zend_Dom_Query::_getNodeList() mishandles query arrays |
|
|
|
Patch to correct the docblock issue.