mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Remove phpstan ignored errors
This commit is contained in:
parent
fca8de40a1
commit
84048617c9
1 changed files with 0 additions and 2 deletions
|
@ -41,7 +41,6 @@ class APCuCache extends AbstractCache implements ICanCacheInMemory
|
||||||
$ns = $this->getCacheKey($prefix ?? '');
|
$ns = $this->getCacheKey($prefix ?? '');
|
||||||
$ns = preg_quote($ns, '/');
|
$ns = preg_quote($ns, '/');
|
||||||
|
|
||||||
/** @phpstan-ignore-next-line see https://github.com/friendica/friendica-addons/pull/1363 */
|
|
||||||
$iterator = new \APCUIterator('/^' . $ns . '/', APC_ITER_KEY);
|
$iterator = new \APCUIterator('/^' . $ns . '/', APC_ITER_KEY);
|
||||||
|
|
||||||
$keys = [];
|
$keys = [];
|
||||||
|
@ -119,7 +118,6 @@ class APCuCache extends AbstractCache implements ICanCacheInMemory
|
||||||
$prefix = $this->getPrefix();
|
$prefix = $this->getPrefix();
|
||||||
$prefix = preg_quote($prefix, '/');
|
$prefix = preg_quote($prefix, '/');
|
||||||
|
|
||||||
/** @phpstan-ignore-next-line see https://github.com/friendica/friendica-addons/pull/1363 */
|
|
||||||
$iterator = new \APCUIterator('/^' . $prefix . '/', APC_ITER_KEY);
|
$iterator = new \APCUIterator('/^' . $prefix . '/', APC_ITER_KEY);
|
||||||
|
|
||||||
return apcu_delete($iterator);
|
return apcu_delete($iterator);
|
||||||
|
|
Loading…
Reference in a new issue