Skip to content

Commit

Permalink
Update RequestFacede.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Tayron Miranda committed Aug 2, 2017
1 parent ca417aa commit 01fd907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RequestFacede.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class RequestFacede implements RequestInterface
*/
public function __construct()
{
$this->request = new Request();
$this->request = Request::createFromGlobals();
}

/**
Expand Down Expand Up @@ -145,4 +145,4 @@ final public function isPut()
{
return $this->request->isMethod(Request::METHOD_PUT);
}
}
}

0 comments on commit 01fd907

Please sign in to comment.