Skip to content

Commit d3998c8

Browse files
authored
Fix inconsistent switch case syntax
This must have been a typo, since it's the only instance where the non-standard syntax is used.
1 parent 8a16464 commit d3998c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ function _checkTypehint(callable $callback, \Throwable $reason): bool
297297
break;
298298
case $type instanceof \ReflectionIntersectionType:
299299
$isTypeUnion = false;
300-
case $type instanceof \ReflectionUnionType;
300+
case $type instanceof \ReflectionUnionType:
301301
$types = $type->getTypes();
302302
break;
303303
default:

0 commit comments

Comments
 (0)