mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Style
This commit is contained in:
@ -8,8 +8,8 @@ test('passes', function () {
|
||||
});
|
||||
|
||||
test('passes with DateTime and DateTimeImmutable', function () {
|
||||
$now = new DateTime();
|
||||
$past = (new DateTimeImmutable())->modify('-1 day');
|
||||
$now = new DateTime;
|
||||
$past = (new DateTimeImmutable)->modify('-1 day');
|
||||
|
||||
expect($now)->toBeGreaterThan($past);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user