Skip to content

Commit 6062a1e

Browse files
author
Valeriy Nayda
committed
GraphQl: Missed PHPDoc argument headers in method graphQlQuery
1 parent dc51f3e commit 6062a1e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,14 @@ public function graphQlQuery(
5252
}
5353

5454
/**
55+
* Compose headers
56+
*
57+
* @param array $headers
5558
* @return string[]
5659
*/
57-
private function composeHeaders($headers)
60+
private function composeHeaders(array $headers): array
5861
{
59-
$headersArray =[];
62+
$headersArray = [];
6063
foreach ($headers as $key => $value) {
6164
$headersArray[] = sprintf('%s: %s', $key, $value);
6265
}

0 commit comments

Comments
 (0)