Skip to content

Commit 1f5e8c2

Browse files
author
Vincent Langlet
committed
🐛 Fix typo
1 parent 7f1db1a commit 1f5e8c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Symfony3Custom/Sniffs/Arrays/ArrayDeclarationSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function processMultiLineArray(PHP_CodeSniffer_File $phpcsFile, $stackPtr
340340
for ($nextToken = ($stackPtr + 1); $nextToken < $arrayEnd; $nextToken++) {
341341
// Skip bracketed statements, like function calls.
342342
if (T_OPEN_PARENTHESIS === $tokens[$nextToken]['code']
343-
&& false === (isset($tokens[$nextToken]['parenthesis_owner'])
343+
&& (false === isset($tokens[$nextToken]['parenthesis_owner'])
344344
|| $tokens[$nextToken]['parenthesis_owner'] !== $stackPtr)
345345
) {
346346
$nextToken = $tokens[$nextToken]['parenthesis_closer'];

0 commit comments

Comments
 (0)