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

@@ -36,17 +36,18 @@
"netzmacht/contao-toolkit": "^3.7", "netzmacht/contao-toolkit": "^3.7",
"netzmacht/php-javascript-builder": "^1.0", "netzmacht/php-javascript-builder": "^1.0",
"netzmacht/php-leaflet": "^1.1.0", "netzmacht/php-leaflet": "^1.1.0",
"symfony/config": "~4.4 || ^5.1", "symfony/cache-contracts": "^1.1 || ^2.0",
"symfony/dependency-injection": "~4.4 || ^5.1", "symfony/config": "^4.4 || ^5.1",
"symfony/event-dispatcher": "~4.4 || ^5.1", "symfony/dependency-injection": "^4.4 || ^5.1",
"symfony/event-dispatcher": "^4.4 || ^5.1",
"symfony/event-dispatcher-contracts": "^1.1 || ^2.0", "symfony/event-dispatcher-contracts": "^1.1 || ^2.0",
"symfony/filesystem": "~4.4 || ^5.1", "symfony/filesystem": "^4.4 || ^5.1",
"symfony/http-foundation": "~4.4 || ^5.1", "symfony/http-foundation": "^4.4 || ^5.1",
"symfony/http-kernel": "~4.4 || ^5.1", "symfony/http-kernel": "^4.4 || ^5.1",
"symfony/routing": "~4.4 || ^5.1", "symfony/routing": "^4.4 || ^5.1",
"symfony/templating": "~4.4 || ^5.1 || ^6.2", "symfony/templating": "^4.4 || ^5.1 || ^6.2",
"symfony/translation-contracts": "^1.1 || ^2.0", "symfony/translation-contracts": "^1.1 || ^2.0",
"symfony/twig-bundle": "~4.4 || ^5.1", "symfony/twig-bundle": "^4.4 || ^5.1",
"twig/twig": "^2.0 || ^3.0" "twig/twig": "^2.0 || ^3.0"
}, },
"require-dev": { "require-dev": {
@@ -67,7 +68,8 @@
"allow-plugins": { "allow-plugins": {
"contao-components/installer": true, "contao-components/installer": true,
"contao/manager-plugin": true, "contao/manager-plugin": true,
"contao-community-alliance/composer-plugin": true "contao-community-alliance/composer-plugin": true,
"php-http/discovery": true
} }
}, },
"extra": { "extra": {

View File

@@ -229,7 +229,7 @@ class MapProvider
if ($doCache) { if ($doCache) {
$cached $cached
->expiresAfter((int)$model->cacheLifeTime) ->expiresAfter((int) $model->cacheLifeTime)
->set( ->set(
[ [
'assets' => $this->assets->toArray(), 'assets' => $this->assets->toArray(),