Skip to content

Commit

Permalink
fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bancer committed Jan 26, 2017
1 parent 0bf4996 commit 0c8e3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c8e3f1

Please sign in to comment.