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 88fa104 commit 9a90f8eCopy full SHA for 9a90f8e
src/Param/ParamValueConverterRegistry.php
@@ -266,7 +266,7 @@ private static function decimalConverter(): Closure
266
267
private static function dateConverter(): Closure
268
{
269
- return static fn (DateTimeInterface|string|float $value) => $value instanceof DateTimeInterface
+ return static fn (DateTimeInterface|string|int|float $value) => $value instanceof DateTimeInterface
270
? $value->format('Y-m-d')
271
: $value;
272
}
0 commit comments