From 874c9d78dc304bb02ce1ef47f41bf2ad29add04d Mon Sep 17 00:00:00 2001 From: Jean-Bernard Valentaten Date: Tue, 17 Sep 2019 12:54:17 +0200 Subject: [PATCH] MC-19366: Fixes code style issue --- Magento2/Sniffs/GraphQL/AbstractGraphQLSniff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Magento2/Sniffs/GraphQL/AbstractGraphQLSniff.php b/Magento2/Sniffs/GraphQL/AbstractGraphQLSniff.php index d15ff43a..2c0448f0 100644 --- a/Magento2/Sniffs/GraphQL/AbstractGraphQLSniff.php +++ b/Magento2/Sniffs/GraphQL/AbstractGraphQLSniff.php @@ -56,7 +56,7 @@ protected function seekEndOfDirective(array $tokens, $startPointer) if ($tokens[$startPointer]['code'] === T_DOC_COMMENT_TAG) { //advance to next token - $endPointer += 1; + ++$endPointer; //if next token is an opening parenthesis, we consume everything up to the closing parenthesis if ($tokens[$endPointer + 1]['code'] === T_OPEN_PARENTHESIS) {