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 c4069e0 commit 874c9d7Copy full SHA for 874c9d7
Magento2/Sniffs/GraphQL/AbstractGraphQLSniff.php
@@ -56,7 +56,7 @@ protected function seekEndOfDirective(array $tokens, $startPointer)
56
57
if ($tokens[$startPointer]['code'] === T_DOC_COMMENT_TAG) {
58
//advance to next token
59
- $endPointer += 1;
+ ++$endPointer;
60
61
//if next token is an opening parenthesis, we consume everything up to the closing parenthesis
62
if ($tokens[$endPointer + 1]['code'] === T_OPEN_PARENTHESIS) {
0 commit comments