Skip to content

Commit

Permalink
Merge pull request #302 from doyouhaobaby/master
Browse files Browse the repository at this point in the history
fix php8.4
  • Loading branch information
oscarotero authored Dec 1, 2024
2 parents c7a0650 + 212a527 commit fcfb445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Scanner/FunctionsHandlersTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ abstract protected function saveTranslation(
?string $domain,
?string $context,
string $original,
string $plural = null
?string $plural = null
): ?Translation;
}
2 changes: 1 addition & 1 deletion src/Scanner/Scanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function saveTranslation(
?string $domain,
?string $context,
string $original,
string $plural = null
?string $plural = null
): ?Translation {
if (is_null($domain)) {
$domain = $this->defaultDomain;
Expand Down

0 comments on commit fcfb445

Please sign in to comment.