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 dc51f3e commit 6062a1eCopy full SHA for 6062a1e
dev/tests/api-functional/framework/Magento/TestFramework/TestCase/GraphQlAbstract.php
@@ -52,11 +52,14 @@ public function graphQlQuery(
52
}
53
54
/**
55
+ * Compose headers
56
+ *
57
+ * @param array $headers
58
* @return string[]
59
*/
- private function composeHeaders($headers)
60
+ private function composeHeaders(array $headers): array
61
{
- $headersArray =[];
62
+ $headersArray = [];
63
foreach ($headers as $key => $value) {
64
$headersArray[] = sprintf('%s: %s', $key, $value);
65
0 commit comments