We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9767ec commit 0a0b32bCopy full SHA for 0a0b32b
app/code/Magento/GraphQl/Controller/GraphQl.php
@@ -114,8 +114,8 @@ public function __construct(
114
$this->resolverContext = $resolverContext;
115
$this->requestProcessor = $requestProcessor;
116
$this->queryFields = $queryFields;
117
- $this->jsonFactory = $jsonFactory ?:ObjectManager::getInstance()->get(JsonFactory::class);
118
- $this->httpResponse = $httpResponse ?:ObjectManager::getInstance()->get(HttpResponse::class);
+ $this->jsonFactory = $jsonFactory ?: ObjectManager::getInstance()->get(JsonFactory::class);
+ $this->httpResponse = $httpResponse ?: ObjectManager::getInstance()->get(HttpResponse::class);
119
}
120
121
/**
0 commit comments