Skip to content

Commit 5955cee

Browse files
committed
fix test
1 parent 7b77fa9 commit 5955cee

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Handler/SmartHandler.php

-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ protected function resolveArguments(ReflectionMethod $method, array $input): arr
297297
*
298298
*/
299299
$enumName = $paramType->getName();
300-
assert($enumName instanceof BackedEnum);
301300
assert(is_string($input[$paramName]) || is_int($input[$paramName]));
302301
$reflectionEnumValue = $enumName::tryFrom($input[$paramName]);
303302

0 commit comments

Comments
 (0)