From 1004bb3f436d066694ad92ca747076a8300770fa Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Tue, 11 Apr 2023 10:57:45 +0200 Subject: [PATCH] Fix phpcs --- tests/Doctrine/ODM/MongoDB/Tests/Functional/DateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Doctrine/ODM/MongoDB/Tests/Functional/DateTest.php b/tests/Doctrine/ODM/MongoDB/Tests/Functional/DateTest.php index 9ff46e92d..e1a206795 100644 --- a/tests/Doctrine/ODM/MongoDB/Tests/Functional/DateTest.php +++ b/tests/Doctrine/ODM/MongoDB/Tests/Functional/DateTest.php @@ -77,7 +77,7 @@ public function testDateInstanceValueChangeDoesCauseUpdateIfValueIsTheSame(): vo $this->dm->flush(); $this->dm->clear(); - $user = $this->dm->getRepository($user::class)->findOneBy([]); + $user = $this->dm->getRepository($user::class)->findOneBy([]); $createdAt = $user->getCreatedAt(); self::assertInstanceOf(DateTime::class, $createdAt); $createdAt->setTimestamp(time() - 3600);