Skip to content

Commit 39edb14

Browse files
Merge branch '6.4' into 7.0
* 6.4: [DoctrineBridge] Fix deprecations baseline in integration tests [DoctrineBridge] Update deprecations baseline bump validator requirement fix Doctrine deprecations fix merge Fix Doctrine deprecations [Validator] Remove internal from methods on non-internal interfaces [PhpUnitBridge] Fix support for the NO_COLOR env var [HttpKernel] Add optional $className param to ControllerEvent::getAttributes() Remove unnecessary usages of DateTime
2 parents febedd1 + 9bca4bd commit 39edb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $email = (new TemplatedEmail())
5757
// ...
5858
->htmlTemplate('emails/signup.html.twig')
5959
->context([
60-
'expiration_date' => new \DateTime('+7 days'),
60+
'expiration_date' => new \DateTimeImmutable('+7 days'),
6161
'username' => 'foo',
6262
])
6363
;

0 commit comments

Comments
 (0)