Skip to content

Commit 2533a13

Browse files
committed
Helper: Fix PhpStan.
1 parent f0b3c5c commit 2533a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static function domNodeToArray($node): array|string
3939
if (is_array($v) && empty($v)) {
4040
$v = '';
4141
}
42+
/** @phpstan-ignore-next-line */
4243
$output[$t][] = $v;
4344
/** @phpstan-ignore-next-line */
4445
} elseif ($v || $v === '0') {
@@ -70,7 +71,6 @@ public static function domNodeToArray($node): array|string
7071
break;
7172
}
7273

73-
/** @phpstan-ignore-next-line */
7474
return $output;
7575
}
7676
}

0 commit comments

Comments
 (0)