Skip to content

Commit 7d40dc2

Browse files
committed
CS: Apply ternary_to_null_coalescing fixer
1 parent 74bd82e commit 7d40dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static function parseSeries(array $tokens): array
8484
}
8585

8686
$split = explode('n', $joined);
87-
$first = isset($split[0]) ? $split[0] : null;
87+
$first = $split[0] ?? null;
8888

8989
return [
9090
$first ? ('-' === $first || '+' === $first ? $int($first.'1') : $int($first)) : 1,

0 commit comments

Comments
 (0)