Skip to content

Commit a83d410

Browse files
committed
docs: fix @return
1 parent 902fcc6 commit a83d410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Test/DOMParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function withString(string $content)
8989
* Loads the contents of a file as a string
9090
* so that we can work with it.
9191
*
92-
* @return DOMParser
92+
* @return $this
9393
*/
9494
public function withFile(string $path)
9595
{
@@ -184,7 +184,7 @@ public function seeCheckboxIsChecked(string $element): bool
184184
/**
185185
* Search the DOM using an XPath expression.
186186
*
187-
* @return DOMNodeList
187+
* @return DOMNodeList|false
188188
*/
189189
protected function doXPath(?string $search, string $element, array $paths = [])
190190
{

0 commit comments

Comments
 (0)