Code style.

This commit is contained in:
David Molineus
2015-01-30 19:59:51 +01:00
parent 31136afd42
commit 130b9e9007

View File

@@ -82,9 +82,9 @@ class MapService
/** /**
* Get map definition. * Get map definition.
* *
* @param MapModel|int $mapId The map database id. MapModel accepted as well. * @param MapModel|int $mapId The map database id. MapModel accepted as well.
* @param Filter $filter Optional request filter. * @param Filter $filter Optional request filter.
* @param string $elementId Optional element id. If none given the mapId or alias is used. * @param string $elementId Optional element id. If none given the mapId or alias is used.
* *
* @return Map * @return Map
*/ */
@@ -135,6 +135,9 @@ class MapService
* *
* @return string * @return string
* @throws \Exception If generating went wrong. * @throws \Exception If generating went wrong.
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
*/ */
public function generate( public function generate(
$mapId, $mapId,
@@ -194,7 +197,10 @@ class MapService
* @param string $identifier The request identifier. * @param string $identifier The request identifier.
* @param bool $exit Exit if ajax request is detected. * @param bool $exit Exit if ajax request is detected.
* *
* @throws \Exception * @return void
* @throws \RuntimeException IF the input data does not match.
*
* @SuppressWarnings(PHPMD.ExitExpression)
*/ */
public function handleAjaxRequest($identifier, $exit = true) public function handleAjaxRequest($identifier, $exit = true)
{ {