Skip to content

Commit

Permalink
fix namespace usage correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
saeideng committed Mar 3, 2017
1 parent b87777b commit be7e587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Network/CorsBuilder.php
Expand Up @@ -14,7 +14,7 @@
*/
namespace Cake\Network;

use Cake\Http\Response;
use Cake\Http\Response as HttpResponse;

/**
* A builder object that assists in defining Cross Origin Request related
Expand Down Expand Up @@ -66,7 +66,7 @@ class CorsBuilder
* @param string $origin The request's Origin header.
* @param bool $isSsl Whether or not the request was over SSL.
*/
public function __construct(Response $response, $origin, $isSsl = false)
public function __construct(HttpResponse $response, $origin, $isSsl = false)
{
$this->_origin = $origin;
$this->_isSsl = $isSsl;
Expand Down

0 comments on commit be7e587

Please sign in to comment.