Skip to content

Commit b8b6f38

Browse files
committed
Fixed return value for getGraphQlClient
1 parent 08d13a1 commit b8b6f38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/TestCase/GraphQlAbstract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ private function getGraphQlClient()
9393
{
9494
if ($this->graphQlClient === null) {
9595
return Bootstrap::getObjectManager()->get(\Magento\TestFramework\TestCase\GraphQl\Client::class);
96-
} else {
97-
$this->graphQlClient;
9896
}
97+
98+
return $this->graphQlClient;
9999
}
100100
}

0 commit comments

Comments
 (0)