Code style.

This commit is contained in:
David Molineus
2017-10-11 11:53:32 +02:00
parent 86bcae2f71
commit 13eec4ba2e
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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
{ {