Skip to content

Commit b611d38

Browse files
committed
docs: make @return more strict
1 parent 41c1e63 commit b611d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Test/DOMParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ protected function doXPath(?string $search, string $element, array $paths = [])
231231
/**
232232
* Look for the a selector in the passed text.
233233
*
234-
* @return array
234+
* @return array{tag: string, id: string|null, class: string|null, attr: array<string, string>|null}
235235
*/
236236
public function parseSelector(string $selector)
237237
{

0 commit comments

Comments
 (0)