Fix coding standard violations

This commit is contained in:
David Molineus
2023-02-20 10:35:00 +01:00
parent ae800257d8
commit dd23a1594e
2 changed files with 14 additions and 12 deletions

View File

@@ -215,7 +215,7 @@ class MapProvider
$cacheKey = $this->getCacheKey($mapId, $filter, $elementId, $template, $style);
if ($this->cache->hasItem($cacheKey)) {
$cached = $this->cache->getItem($cacheKey);
$cached = $this->cache->getItem($cacheKey);
$cachedData = $cached->get();
$this->assets->fromArray($cachedData['assets']);
@@ -229,7 +229,7 @@ class MapProvider
if ($doCache) {
$cached
->expiresAfter((int)$model->cacheLifeTime)
->expiresAfter((int) $model->cacheLifeTime)
->set(
[
'assets' => $this->assets->toArray(),