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

Commit e1f63ed

Browse files
committed
Simplify block comment
1 parent 04ca6f7 commit e1f63ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎docs/examples/codecs/handling-data-types/DateTimeCodec.php‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ final class DateTimeCodec implements Codec
1515

1616
public function canDecode(mixed $value): bool
1717
{
18-
/*
19-
* This codec inspects the BSON document to ensure it has the fields it expects, and that those fields are of
18+
/* This codec inspects the BSON document to ensure it has the fields it expects, and that those fields are of
2019
* the correct type. This is a robust approach to avoid decoding document that are not supported and would cause
2120
* exceptions.
2221
*

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /