We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454d3e4 commit 678b2e8Copy full SHA for 678b2e8
src/Converters/MixedValueToScalarConverter.php
@@ -15,7 +15,7 @@ public function handle(mixed $value): int|float|bool|string|null
15
} elseif (is_object($value) && PHP_VERSION_ID >= 80100 && enum_exists(get_class($value))) {
16
return $value->value;
17
} elseif (is_object($value) && method_exists($value, '__toString')) {
18
- $value->__toString();
+ return $value->__toString();
19
}
20
21
throw new BulkValueTypeIsNotSupported($value);
0 commit comments