Skip to content

Commit

Permalink
Fix issue detected by PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliot-Tm committed Nov 11, 2024
1 parent 83d260e commit b0da073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Comment/Extractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private function registerPart(string $line, CommentParts $parts): CommentPart
*/
private function splitLines(string $comment): array
{
/** @var string[] $lines */
/** @var list<string> $lines */
$lines = preg_split("/([\r\n]+)/", $comment, -1, \PREG_SPLIT_DELIM_CAPTURE);
$count = \count($lines);
$currentLineIndex = 0;
Expand Down

0 comments on commit b0da073

Please sign in to comment.