Skip to content

Commit 9e339ba

Browse files
committed
compatibility with nette/caching 3.0
1 parent 75cca72 commit 9e339ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"require": {
1717
"php": ">=7.1",
1818
"ext-pdo": "*",
19-
"nette/caching": "^2.2",
20-
"nette/utils": "^2.4 || ~3.0.0"
19+
"nette/caching": "^3.0",
20+
"nette/utils": "^2.4 || ^3.0"
2121
},
2222
"require-dev": {
2323
"nette/tester": "^2.0",

tests/Database/Table/Table.cache.observer2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class CacheMock extends MemoryStorage
1717
{
1818
public $writes = 0;
1919

20-
function write($key, $data, array $dependencies)
20+
function write(string $key, $data, array $dependencies)
2121
{
2222
$this->writes++;
2323
return parent::write($key, $data, $dependencies);

0 commit comments

Comments
 (0)