Skip to content

Commit

Permalink
Changed a few use statements from “Cake\Network\Response” to “Cake\Ht…
Browse files Browse the repository at this point in the history
…tp\Response”.
  • Loading branch information
JoshuaLuckers committed May 25, 2017
1 parent b1c297e commit a3903d1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Controller/AppController.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function initialize()
* Before render callback.
*
* @param \Cake\Event\Event $event The beforeRender event.
* @return \Cake\Network\Response|null|void
* @return \Cake\Http\Response|null|void
*/
public function beforeRender(Event $event)
{
Expand Down
6 changes: 3 additions & 3 deletions src/Controller/ErrorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function initialize()
* beforeFilter callback.
*
* @param \Cake\Event\Event $event Event.
* @return \Cake\Network\Response|null|void
* @return \Cake\Http\Response|null|void
*/
public function beforeFilter(Event $event)
{
Expand All @@ -47,7 +47,7 @@ public function beforeFilter(Event $event)
* beforeRender callback.
*
* @param \Cake\Event\Event $event Event.
* @return \Cake\Network\Response|null|void
* @return \Cake\Http\Response|null|void
*/
public function beforeRender(Event $event)
{
Expand All @@ -60,7 +60,7 @@ public function beforeRender(Event $event)
* afterFilter callback.
*
* @param \Cake\Event\Event $event Event.
* @return \Cake\Network\Response|null|void
* @return \Cake\Http\Response|null|void
*/
public function afterFilter(Event $event)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/PagesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PagesController extends AppController
* Displays a view
*
* @param array ...$path Path segments.
* @return \Cake\Network\Response|null
* @return \Cake\Http\Response|null
* @throws \Cake\Network\Exception\ForbiddenException When a directory traversal attempt.
* @throws \Cake\Network\Exception\NotFoundException When the view file could not
* be found or \Cake\View\Exception\MissingTemplateException in debug mode.
Expand Down
2 changes: 1 addition & 1 deletion src/View/AjaxView.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
namespace App\View;

use Cake\Event\EventManager;
use Cake\Network\Response;
use Cake\Http\ServerRequest;
use Cake\Http\Response;

/**
* A view class that is used for AJAX responses.
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Controller/PagesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
use App\Controller\PagesController;
use Cake\Core\App;
use Cake\Core\Configure;
use Cake\Network\Response;
use Cake\Http\ServerRequest;
use Cake\Http\Response;
use Cake\TestSuite\IntegrationTestCase;
use Cake\View\Exception\MissingTemplateException;

Expand Down

0 comments on commit a3903d1

Please sign in to comment.