Skip to content

Commit 501b4aa

Browse files
committed
Fix inconsistent switch case syntax
This builds on top of #264 porting that change to v2.
1 parent 1a84609 commit 501b4aa

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
@@ -366,7 +366,7 @@ function _checkTypehint(callable $callback, $object)
366366
break;
367367
case $type instanceof \ReflectionIntersectionType:
368368
$isTypeUnion = false;
369-
case $type instanceof \ReflectionUnionType;
369+
case $type instanceof \ReflectionUnionType:
370370
$types = $type->getTypes();
371371
break;
372372
default:

0 commit comments

Comments
 (0)