This repository was archived by the owner on Aug 9, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments