Permalink
Browse files

fixed unit tests

  • Loading branch information...
bancer committed Jan 26, 2017
1 parent 0bf4996 commit 0c8e3f19773591ab351e9ccb0482b32927260f52
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Routing/Router.php
@@ -1100,7 +1100,7 @@ public static function queryString($q, $extra = array(), $escape = false) {
* @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 function reverseToArray($params) {
public static function reverseToArray($params) {
if ($params instanceof CakeRequest) {
$url = $params->query;
$params = $params->params;

0 comments on commit 0c8e3f1

Please sign in to comment.