From eb00f9aa7dd131cadb08cf06290fcb820b91bb8e Mon Sep 17 00:00:00 2001 From: Val Bancer Date: Thu, 26 Jan 2017 23:52:14 +0100 Subject: [PATCH] fixed code style --- lib/Cake/Routing/Router.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/Cake/Routing/Router.php b/lib/Cake/Routing/Router.php index a05717f14..3c0688240 100644 --- a/lib/Cake/Routing/Router.php +++ b/lib/Cake/Routing/Router.php @@ -1087,19 +1087,19 @@ class Router { return $out; } - /** - * Reverses a parsed parameter array into an array. - * - * Works similarly to Router::url(), but since parsed URL's contain additional - * 'pass' and 'named' as well as 'url.url' keys. Those keys need to be specially - * handled in order to reverse a params array into a string URL. - * - * This will strip out 'autoRender', 'bare', 'requested', and 'return' param names as those - * are used for CakePHP internals and should not normally be part of an output URL. - * - * @param CakeRequest|array $params The params array or CakeRequest object that needs to be reversed. - * @return array The URL array ready to be used for redirect or HTML link. - */ +/** + * Reverses a parsed parameter array into an array. + * + * Works similarly to Router::url(), but since parsed URL's contain additional + * 'pass' and 'named' as well as 'url.url' keys. Those keys need to be specially + * handled in order to reverse a params array into a string URL. + * + * This will strip out 'autoRender', 'bare', 'requested', and 'return' param names as those + * are used for CakePHP internals and should not normally be part of an output URL. + * + * @param CakeRequest|array $params The params array or CakeRequest object that needs to be reversed. + * @return array The URL array ready to be used for redirect or HTML link. + */ public static function reverseToArray($params) { if ($params instanceof CakeRequest) { $url = $params->query;