Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit66a1ede

Browse files
alexndlmmtarld
andauthored
Update src/Symfony/Component/Serializer/Normalizer/DateTimeNormalizer.php
Co-authored-by: Mathias Arlaud <mathias.arlaud@gmail.com>
1 parent82c53c1 commit66a1ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Serializer/Normalizer/DateTimeNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a
127127
return$object;
128128
}
129129

130-
trigger_deprecation('symfony/serializer','7.3',\sprintf('NotNormalizableValueExceptionwill be thrown when date could not be parsed using the default format "%s".',$defaultDateTimeFormat));
130+
trigger_deprecation('symfony/serializer','7.3',\sprintf('A "%s"will be thrown whenadate could not be parsed using the default format "%s".', NotNormalizableValueException::class,$defaultDateTimeFormat));
131131
}
132132

133133
returnnew$type($data,$timezone);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp