Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 6e54182

Browse files
committed
Fixes DocBlocks in Zend_Dom
1 parent b32947c commit 6e54182

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

library/Zend/Dom/Query.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ class Zend_Dom_Query
8585
/**
8686
* Constructor
8787
*
88-
* @param null|string $document
89-
* @return void
88+
* @param null|string $document
89+
* @param null|string $encoding
9090
*/
9191
public function __construct($document = null, $encoding = null)
9292
{
@@ -239,7 +239,8 @@ public function query($query)
239239
* Perform an XPath query
240240
*
241241
* @param string|array $xpathQuery
242-
* @param string $query CSS selector query
242+
* @param string $query CSS selector query
243+
* @throws Zend_Dom_Exception
243244
* @return Zend_Dom_Query_Result
244245
*/
245246
public function queryXpath($xpathQuery, $query = null)

library/Zend/Dom/Query/Result.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ class Zend_Dom_Query_Result implements Iterator,Countable
7676
* @param string|array $xpathQuery
7777
* @param DOMDocument $document
7878
* @param DOMNodeList $nodeList
79-
* @return void
8079
*/
8180
public function __construct($cssQuery, $xpathQuery, DOMDocument $document, DOMNodeList $nodeList)
8281
{
@@ -119,7 +118,7 @@ public function getDocument()
119118
/**
120119
* Iterator: rewind to first element
121120
*
122-
* @return void
121+
* @return DOMNode|null
123122
*/
124123
public function rewind()
125124
{
@@ -163,7 +162,7 @@ public function key()
163162
/**
164163
* Iterator: move to next element
165164
*
166-
* @return void
165+
* @return DOMNode|null
167166
*/
168167
public function next()
169168
{

0 commit comments

Comments
 (0)