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

Commit a162578

Browse files
committed
Updated documentation
1 parent 8863d81 commit a162578

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/HtmlExplorer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __construct($html)
5656
* Finds an element by ID.
5757
*
5858
* @param string $elementId The element ID
59-
* @return \DOMElement|bool
59+
* @return \DOMElement|false
6060
*/
6161
public function find($elementId)
6262
{
@@ -78,7 +78,7 @@ public function findTags($tagName)
7878
* Finds the first element with given tag name.
7979
*
8080
* @param string $tagName The tag name
81-
* @return \DOMNode|bool
81+
* @return \DOMElement|false
8282
*/
8383
public function findFirstTag($tagName)
8484
{

lib/HttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function setEncoding($encoding)
229229
/**
230230
* Enables the use of cookies.
231231
*
232-
* @param string $jarfile The full path to the file where cookies are saved (optional)
232+
* @param string $jarfile The full path to the file where cookies are saved
233233
* @throws \InvalidArgumentException if the given parameter is invalid.
234234
* @throws \LogicException if the cookie file could not be opened.
235235
*/

lib/WebpageAnalyzer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected function getAbsoluteUrl($href)
186186
* Returns the size of an image.
187187
*
188188
* @param string $url The URL of the image
189-
* @return array|bool Returns an array with width and height of the image or FALSE on error.
189+
* @return array|false Returns an array with width and height of the image or FALSE on error.
190190
*/
191191
protected function getImageSize($url)
192192
{

0 commit comments

Comments
 (0)