Skip to content

Commit

Permalink
Added assignment instead of direct return
Browse files Browse the repository at this point in the history
  • Loading branch information
rogyar authored Jul 24, 2018
1 parent b8b6f38 commit adbf647
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function getAppCache()
private function getGraphQlClient()
{
if ($this->graphQlClient === null) {
return Bootstrap::getObjectManager()->get(\Magento\TestFramework\TestCase\GraphQl\Client::class);
$this->graphQlClient = Bootstrap::getObjectManager()->get(\Magento\TestFramework\TestCase\GraphQl\Client::class);
}

return $this->graphQlClient;
Expand Down

0 comments on commit adbf647

Please sign in to comment.