Skip to content

Commit 3003673

Browse files
Update visitor.php
Co-authored-by: Viktor Szépe <viktor@szepe.net>
1 parent f92b002 commit 3003673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private function getElementsFromDescription(Description $tagDescription, bool $o
203203
// Populate `$types` with the value of each top level `@type`.
204204
$types = preg_split('/\R+ @type /', $text);
205205

206-
if (!$types) {
206+
if ($types === false) {
207207
return null;
208208
}
209209

0 commit comments

Comments
 (0)