mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-30 03:54:10 +01:00
Code style.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
phpcs.standard = ${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/ruleset.xml
|
phpcs.standard = ${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/ruleset.xml
|
||||||
phpmd.ruleset = ${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml
|
phpmd.ruleset = ${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml
|
||||||
phpcs.excluded = src/Resources/contao/languages,src/Resources/public/js
|
phpcs.excluded = src/Bundle/Resources/contao/languages,src/Bundle/Resources/public/js
|
||||||
phpcpd.excluded = contao
|
phpcpd.excluded = contao
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
|||||||
];
|
];
|
||||||
|
|
||||||
if ($model) {
|
if ($model) {
|
||||||
$href = 'contao/main.php?do=leaflet&table=tl_leaflet_map&act=edit&id=' . $model->id;;
|
$href = 'contao/main.php?do=leaflet&table=tl_leaflet_map&act=edit&id=' . $model->id;
|
||||||
|
|
||||||
$parameters['wildcard'] = '### LEAFLET MAP ' . $model->title . ' ###';
|
$parameters['wildcard'] = '### LEAFLET MAP ' . $model->title . ' ###';
|
||||||
$parameters['id'] = $model->id;
|
$parameters['id'] = $model->id;
|
||||||
@@ -112,6 +112,8 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
*
|
||||||
|
* @throws \Exception If map could not be created.
|
||||||
*/
|
*/
|
||||||
protected function prepareTemplateData(array $data): array
|
protected function prepareTemplateData(array $data): array
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user