forked from Snck3rs/contao-leaflet-maps
Fix coding standard violations
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user