Skip to content

Commit 22f7cec

Browse files
author
Kirill Nesmeyanov
committed
Apply phpcs
1 parent 7ec691c commit 22f7cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Node/Literal/IntLiteralNode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private static function split(string $literal): array
4848

4949
// One of: [ 0123, 0o23, 0x00, 0b01 ]
5050
if ($literal[0] === '0' && isset($literal[1])) {
51-
return [$isNegative, (match ($literal[1]) {
51+
return [$isNegative, match ($literal[1]) {
5252
// hexadecimal
5353
'x', 'X' => \hexdec(\substr($literal, 2)),
5454
// binary
@@ -57,7 +57,7 @@ private static function split(string $literal): array
5757
'o', 'O' => \octdec(\substr($literal, 2)),
5858
// octal (legacy)
5959
default => \octdec($literal),
60-
})];
60+
}];
6161
}
6262

6363
return [$isNegative, $literal];

0 commit comments

Comments
 (0)