aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-07-30 08:11:37 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-07-30 08:11:37 +0200
commitbe0736b5f2e198e7dce32e60eb0e1dee2de180d5 (patch)
tree0d31866a55813dc6e1757cf1578166e04ab7811f
parent9a9e938c78cc603e24a6ae907592a34555fabaf1 (diff)
downloadRouter-be0736b5f2e198e7dce32e60eb0e1dee2de180d5.zip
Router-be0736b5f2e198e7dce32e60eb0e1dee2de180d5.tar.gz
Router-be0736b5f2e198e7dce32e60eb0e1dee2de180d5.tar.bz2
Fix CS.
-rw-r--r--Generic.php3
-rw-r--r--Http/Http.php6
2 files changed, 7 insertions, 2 deletions
diff --git a/Generic.php b/Generic.php
index c6c5cf3..6b049c7 100644
--- a/Generic.php
+++ b/Generic.php
@@ -139,7 +139,8 @@ abstract class Generic implements Router
public function addPrivateRule(
$id,
Array $methods,
- $pattern,$call = null,
+ $pattern,
+ $call = null,
$able = null,
Array $variables = []
) {
diff --git a/Http/Http.php b/Http/Http.php
index 6996380..97c4803 100644
--- a/Http/Http.php
+++ b/Http/Http.php
@@ -674,7 +674,11 @@ class Http extends Router\Generic implements Core\Parameter\Parameterizable
$out
);
- return $out . (!empty($unusedVariables) ? '?' . http_build_query($unusedVariables) : '');
+ return
+ $out .
+ (!empty($unusedVariables)
+ ? '?' . http_build_query($unusedVariables)
+ : '');
}
/**