Code style.

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

View File

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