Skip to content

Commit 7c697ca

Browse files
authored
Merge pull request #59 from php-cache/expiresAfter
Expires after typo
2 parents dfe6681 + 2aafdaf commit 7c697ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"require-dev": {
2929
"phpunit/phpunit": "^4.0|^5.0",
3030
"cache/cache": "dev-master",
31-
"symfony/cache": "dev-master",
31+
"symfony/cache": "^3.1",
3232
"tedivm/stash": "dev-master"
3333
},
3434
"autoload": {

src/CachePoolTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ public function testExpiresAfterWithNull()
549549

550550
$item = $this->cache->getItem('key');
551551
$item->set('value');
552-
$item->expiresAt(null);
552+
$item->expiresAfter(null);
553553
$this->cache->save($item);
554554

555555
$item = $this->cache->getItem('key');

0 commit comments

Comments
 (0)