Skip to content

Commit b842cc0

Browse files
committed
style fix
1 parent c354bc0 commit b842cc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CachePoolTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public function testSaveExpired()
343343

344344
$item = $this->cache->getItem('key');
345345
$item->set('value');
346-
$item->expiresAt(\DateTime::createFromFormat('U', time()-1));
346+
$item->expiresAt(\DateTime::createFromFormat('U', time() - 1));
347347
$this->cache->save($item);
348348
$item = $this->cache->getItem('key');
349349
$this->assertFalse($item->isHit(), 'Cache should not save expired items');
@@ -408,7 +408,7 @@ public function testDeferredExpired()
408408

409409
$item = $this->cache->getItem('key');
410410
$item->set('4711');
411-
$item->expiresAt(\DateTime::createFromFormat('U', time()-1));
411+
$item->expiresAt(\DateTime::createFromFormat('U', time() - 1));
412412
$this->cache->saveDeferred($item);
413413

414414
$this->assertFalse($this->cache->hasItem('key'), 'Cache should not have expired deferred item');

0 commit comments

Comments
 (0)