Skip to content

Commit

Permalink
Fix more deprecated feature use.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 9, 2017
1 parent 1f1a6ee commit 66f49a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_app/TestApp/Controller/RequestActionController.php
Expand Up @@ -88,7 +88,7 @@ public function paginate_request_action()
*/
public function post_pass()
{
return $this->response->withStringBody(json_encode($this->request->data));
return $this->response->withStringBody(json_encode($this->request->getData()));
}

/**
Expand All @@ -98,7 +98,7 @@ public function post_pass()
*/
public function query_pass()
{
return $this->response->withStringBody(json_encode($this->request->query));
return $this->response->withStringBody(json_encode($this->request->getQueryParams()));
}

/**
Expand All @@ -108,7 +108,7 @@ public function query_pass()
*/
public function cookie_pass()
{
return $this->response->withStringBody(json_encode($this->request->cookies));
return $this->response->withStringBody(json_encode($this->request->getCookieParams()));
}

/**
Expand Down

0 comments on commit 66f49a4

Please sign in to comment.