We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878c735 commit ca85af9Copy full SHA for ca85af9
1 file changed
tests/Type/Coercer/StringTypeCoercerTest.php
@@ -75,6 +75,7 @@ protected static function castValues(bool $normalize): iterable
75
'stream' => 'stream',
76
default => $default,
77
},
78
+ \get_debug_type($value) === 'resource (closed)' => 'resource',
79
$value === IntBackedEnumStub::ExampleCase => (string) IntBackedEnumStub::ExampleCase->value,
80
$value === StringBackedEnumStub::ExampleCase => StringBackedEnumStub::ExampleCase->value,
81
$value === UnitEnumStub::ExampleCase => UnitEnumStub::ExampleCase->name,
0 commit comments