From 4e4380270bd8e2c2568e7fabc79e3cd68612f172 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Thu, 6 Oct 2016 08:26:57 +0200 Subject: [PATCH] Code style fixes. --- src/Netzmacht/Contao/Leaflet/Frontend/DataController.php | 3 +++ src/Netzmacht/Contao/Leaflet/MapProvider.php | 1 + 2 files changed, 4 insertions(+) diff --git a/src/Netzmacht/Contao/Leaflet/Frontend/DataController.php b/src/Netzmacht/Contao/Leaflet/Frontend/DataController.php index a2ec88f..20b3d45 100644 --- a/src/Netzmacht/Contao/Leaflet/Frontend/DataController.php +++ b/src/Netzmacht/Contao/Leaflet/Frontend/DataController.php @@ -47,7 +47,10 @@ class DataController * @var array */ private $filters; + /** + * Display errors. + * * @var bool */ private $displayErrors; diff --git a/src/Netzmacht/Contao/Leaflet/MapProvider.php b/src/Netzmacht/Contao/Leaflet/MapProvider.php index e746597..f5d60d6 100644 --- a/src/Netzmacht/Contao/Leaflet/MapProvider.php +++ b/src/Netzmacht/Contao/Leaflet/MapProvider.php @@ -210,6 +210,7 @@ class MapProvider * @throws \RuntimeException IF the input data does not match. * * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings(PHPMD.Superglobals) */ public function handleAjaxRequest($identifier, $exit = true) {