Skip to content

Commit

Permalink
Fix type for parsedmessage value
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Sep 29, 2024
1 parent eae5dc0 commit b6cf68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MessageParser/SprintfParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SprintfParser implements MessageParserInterface
#[Override]
public function parseMessage(string $message, array $values): MessageMetaData
{
/** @var string[] $parsedMessage */
/** @var list<string> $parsedMessage */
$parsedMessage = preg_split(
'/(%[%]?(?# swapping:
)(?:[\d]+\$)?(?# fraction padding:
Expand Down

0 comments on commit b6cf68d

Please sign in to comment.