Skip to content

Commit ff0ba47

Browse files
committed
Apply rector NewMethodCallWithoutParenthesesRector #12152
1 parent 9fd316c commit ff0ba47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Model/Traits/HasPasswordTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function testToken(): void
6464
$this->user->setPassword('money');
6565
self::assertFalse($this->user->isTokenValid(), 'after password change token is invalid');
6666

67-
Chronos::setTestNow((new Chronos())->subDays(1));
67+
Chronos::setTestNow(new Chronos()->subDays(1));
6868
$token5 = $this->user->createToken();
6969
Chronos::setTestNow(null);
7070
self::assertEquals(32, mb_strlen($token5), 'must be exactly the length of DB field');

0 commit comments

Comments
 (0)