We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74bd82e commit 7d40dc2Copy full SHA for 7d40dc2
Parser/Parser.php
@@ -84,7 +84,7 @@ public static function parseSeries(array $tokens): array
84
}
85
86
$split = explode('n', $joined);
87
- $first = isset($split[0]) ? $split[0] : null;
+ $first = $split[0] ?? null;
88
89
return [
90
$first ? ('-' === $first || '+' === $first ? $int($first.'1') : $int($first)) : 1,
0 commit comments