Skip to content

Commit 559874b

Browse files
g-battagliadg
authored andcommitted
typo
1 parent 4217032 commit 559874b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Bridges/CacheDI/CacheExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(
2424
}
2525

2626

27-
public function loadConfiguration()
27+
public function loadConfiguration(): void
2828
{
2929
if (!FileSystem::isAbsolute($this->tempDir)) {
3030
throw new Nette\InvalidArgumentException("Cache directory must be absolute, '$this->tempDir' given.");

src/Caching/Cache.php

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

0 commit comments

Comments
 (0)