Skip to content

Commit 8683e0b

Browse files
committed
MC-21524: Schema introspection return incomplete results
- fixed static fixes
1 parent 5aea62c commit 8683e0b

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/GraphQl/Query

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/GraphQl/Query/Fields.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ class Fields
2828
*
2929
* @return void
3030
*/
31+
// phpcs:ignore Generic.CodeAnalysis.EmptyStatement
3132
public function setQuery($query, array $variables = null)
3233
{
3334
$queryFields = [];
34-
// phpcs:ignore Generic.CodeAnalysis.EmptyStatement
35+
3536
try {
3637
$queryAst = \GraphQL\Language\Parser::parse(new \GraphQL\Language\Source($query ?: '', 'GraphQL'));
3738
\GraphQL\Language\Visitor::visit(
@@ -76,7 +77,6 @@ public function getFieldsUsedInQuery()
7677
* @param array $variables
7778
*
7879
* @return string[]
79-
*
8080
*/
8181
private function extractVariables(array $variables): array
8282
{

0 commit comments

Comments
 (0)