Browse Source

fix namespace usage correctly

saeid 9 years ago
parent
commit
be7e587adf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Network/CorsBuilder.php

+ 2 - 2
src/Network/CorsBuilder.php

@@ -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
@@ -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;