Skip to content

Commit 9bf1e9c

Browse files
committed
Fix CS
1 parent f2c35b3 commit 9bf1e9c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Inpsyde/PhpcsHelpers.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -540,13 +540,8 @@ public static function returnsCountInfo(File $file, int $position): array
540540
/** @var array<int, array<string, mixed>> $tokens */
541541
$tokens = $file->getTokens();
542542

543-
if (T_FN === $tokens[$position]['code'] ?? null) {
544-
return [
545-
'nonEmpty' => 1,
546-
'void' => 0,
547-
'null' => 0,
548-
'total' => 1,
549-
];
543+
if (T_FN === ($tokens[$position]['code'] ?? null)) {
544+
return ['nonEmpty' => 1, 'void' => 0, 'null' => 0, 'total' => 1];
550545
}
551546

552547
$pos = $start + 1;

0 commit comments

Comments
 (0)