Skip to content

Commit 0f22027

Browse files
soyukaCopilot
andauthored
Update src/State/Parameter/ValueCaster.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3fb8c41 commit 0f22027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/State/Parameter/ValueCaster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static function toFloat(mixed $v): mixed
5757
return false === $value ? $v : $value;
5858
}
5959

60-
public static function toDateTime(mixed $v): mixed
60+
public static function toDateTime(mixed $v, Parameter $parameter = null): mixed
6161
{
6262
if ($v instanceof \DateTimeInterface) {
6363
return $v;

0 commit comments

Comments
 (0)