Skip to content

Commit 547148f

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

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
@@ -213,7 +213,7 @@ private function getElementsFromDescription(Description $tagDescription, bool $o
213213
foreach ($types as $typeTag) {
214214
$parts = preg_split('#\s+#', trim($typeTag));
215215

216-
if (!$parts || count($parts) < 2) {
216+
if ($parts === false || count($parts) < 2) {
217217
return null;
218218
}
219219

0 commit comments

Comments
 (0)