Skip to content

Commit

Permalink
Doc file changed
Browse files Browse the repository at this point in the history
  • Loading branch information
anshu-krishna committed Dec 2, 2018
1 parent 9150b3e commit f3bfb17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
`$source` can be of type `DOMNodeList`, `DOMNode` or `string`.

**Returns:**

| Type | Description |
|------|-------------|
|---|---|
| `array` | When `$source` is an instance of `DOMNodeList` then returns an `array` of `HTML_Scraper` objects. |
| `HTML_Scraper` | When `$source` is an instance of `DOMNode` or a `string` |

Expand Down Expand Up @@ -62,7 +63,7 @@

**Returns:**
| Type | Description |
|------|-------------|
|---|---|
| `NULL` | When no nodes matches the XPath path expression |
| `DOMNodeList` | When no `...$items` are passed |
| `DOMNode` | When only one `...$items` is passed |
Expand Down

0 comments on commit f3bfb17

Please sign in to comment.