Skip to content

Commit dcca27f

Browse files
committed
fix(datetime): fix parameter order
1 parent 65a1c01 commit dcca27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/datetime/src/Exception/UnexpectedValueException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public static function forSeconds(int $provided_seconds, int $calendar_seconds):
117117
{
118118
return new self(sprintf(
119119
'Unexpected seconds value encountered. Provided "%d", but the calendar expects "%d". Ensure the seconds are correct and within the 0-59 range.',
120-
$calendar_seconds,
121120
$provided_seconds,
121+
$calendar_seconds,
122122
));
123123
}
124124
}

0 commit comments

Comments
 (0)