Skip to content

Commit

Permalink
Add note about DateTime::__construct() breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Jun 29, 2022
1 parent 68a6bd5 commit 57478fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ None

### Backward Incompatible Changes

None
- `DateTime::__construct()` no longer accepts `DateTimeInterface` instances, only string, just like
PHP's `DateTime`. Use `::from()` instead.

### Deprecated Features

Expand Down

0 comments on commit 57478fb

Please # to comment.