From 010bebda24a0e6b29fc663a78f5400ed0c3112fb Mon Sep 17 00:00:00 2001 From: Serban Ghita Date: Tue, 10 Dec 2024 00:01:45 +0200 Subject: [PATCH] Fix lint Signed-off-by: Serban Ghita --- tests/CacheItemTest.php | 2 -- tests/CacheTest.php | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/CacheItemTest.php b/tests/CacheItemTest.php index bad87575..aa85190f 100644 --- a/tests/CacheItemTest.php +++ b/tests/CacheItemTest.php @@ -71,6 +71,4 @@ public function testExpiresAfterDoesnNotAcceptNegativeValues(): void $this->assertNull($item->expiresAfter); } - - } diff --git a/tests/CacheTest.php b/tests/CacheTest.php index cd4fd3cb..4d486153 100644 --- a/tests/CacheTest.php +++ b/tests/CacheTest.php @@ -112,11 +112,12 @@ public function testGetMultiple(): void $this->cache->set('isMobile', true, 100); $this->cache->set('isTablet', false, 200); - $this->assertEquals([ + $this->assertEquals( + [ 'isMobile' => (new CacheItem('isMobile', true))->expiresAfter(100), 'isTablet' => (new CacheItem('isTablet', false))->expiresAfter(200), 'isUnknown' => null, - ], + ], $this->cache->getMultiple(['isMobile', 'isTablet', 'isUnknown']) ); }