Skip to content

Commit c354ee0

Browse files
g-battagliadg
authored andcommitted
typo
1 parent 6821d74 commit c354ee0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Bridges/CacheDI/CacheExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(string $tempDir)
2626
}
2727

2828

29-
public function loadConfiguration()
29+
public function loadConfiguration(): void
3030
{
3131
$dir = $this->tempDir . '/cache';
3232
Nette\Utils\FileSystem::createDir($dir);

src/Caching/Cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function bulkLoad(array $keys, ?callable $generator = null): array
181181
* Writes item into the cache.
182182
* Dependencies are:
183183
* - Cache::Priority => (int) priority
184-
* - Cache::Expire => (timestamp) expiration
184+
* - Cache::Expire => (timestamp) expiration, infinite if null
185185
* - Cache::Sliding => (bool) use sliding expiration?
186186
* - Cache::Tags => (array) tags
187187
* - Cache::Files => (array|string) file names

tests/Caching/Cache.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
use Nette\Caching\IBulkReader;
6-
use Nette\Caching\IStorage;
5+
use Nette\Caching\BulkReader;
6+
use Nette\Caching\Storage;
77

8-
class TestStorage implements IStorage
8+
class TestStorage implements Storage
99
{
1010
private array $data = [];
1111

@@ -40,7 +40,7 @@ public function clean(array $conditions): void
4040
}
4141
}
4242

43-
class BulkReadTestStorage extends TestStorage implements IBulkReader
43+
class BulkReadTestStorage extends TestStorage implements BulkReader
4444
{
4545
public function bulkRead(array $keys): array
4646
{

0 commit comments

Comments
 (0)