Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/NodeList.php
Expand Up @@ -12,8 +12,8 @@

use Countable;
use DOMDocument;
use DOMElement;
use DOMNodeList;
use DOMNode;
use DOMXPath;
use Iterator;

Expand Down Expand Up @@ -114,7 +114,7 @@ public function getDocument()
/**
* Iterator: rewind to first element
*
* @return void
* @return DOMNode
*/
public function rewind()
{
Expand All @@ -138,7 +138,7 @@ public function valid()
/**
* Iterator: return current element
*
* @return DOMElement
* @return DOMNode
*/
public function current()
{
Expand All @@ -158,7 +158,7 @@ public function key()
/**
* Iterator: move to next element
*
* @return void
* @return DOMNode
*/
public function next()
{
Expand Down
5 changes: 3 additions & 2 deletions src/Query.php
Expand Up @@ -67,7 +67,8 @@ class Query
/**
* Constructor
*
* @param null|string $document
* @param null|string $document
* @param null|string $encoding
*/
public function __construct($document = null, $encoding = null)
{
Expand Down Expand Up @@ -286,7 +287,7 @@ public function registerXpathNamespaces($xpathNamespaces)
/**
* Register PHP Functions to use in internal DOMXPath
*
* @param mixed $restrict
* @param bool $xpathPhpFunctions
* @return void
*/
public function registerXpathPhpFunctions($xpathPhpFunctions = true)
Expand Down

0 comments on commit 8a250b9

Please sign in to comment.