Skip to content

Commit

Permalink
Remove usage of __get
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Sep 23, 2016
1 parent 466425b commit 5ad9d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Application/EntityLoaderPresenterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public function storeRequest($request = null, $expiration = '+ 10 minutes')
{
// both parameters are optional
if ($request === null) {
$request = $this->request;
$request = $this->getRequest();
} elseif (!$request instanceof Request) {
$expiration = $request;
$request = $this->request;
$request = $this->getRequest();
}

$request = clone $request;
Expand Down

0 comments on commit 5ad9d1a

Please sign in to comment.