Skip to content

Commit

Permalink
phpcs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra committed Oct 15, 2024
1 parent e34c1cd commit 815fa00
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use function in_array;

use const T_AS;
use const T_DECLARE;
use const T_FN_ARROW;
use const T_INSTANCEOF;
use const T_INSTEADOF;
Expand Down Expand Up @@ -48,6 +49,7 @@ public function register() : array

/**
* @param int $stackPtr
* @return null|int
*/
public function process(File $phpcsFile, $stackPtr)
{
Expand All @@ -63,7 +65,6 @@ public function process(File $phpcsFile, $stackPtr)
return $tokens[$stackPtr]['parenthesis_closer'];
}


$originalValue = $this->ignoreNewlines;
if (in_array($tokens[$stackPtr]['code'], $this->doNotIgnoreNewLineForTokens, true)) {
$this->ignoreNewlines = false;
Expand Down

0 comments on commit 815fa00

Please sign in to comment.