mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Code style.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
phpcs.standard = ${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/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
|
||||
|
||||
@@ -96,7 +96,7 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
||||
];
|
||||
|
||||
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['id'] = $model->id;
|
||||
@@ -112,6 +112,8 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @throws \Exception If map could not be created.
|
||||
*/
|
||||
protected function prepareTemplateData(array $data): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user