Skip to content

Commit

Permalink
php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Feb 29, 2024
1 parent da9f764 commit 64e8d2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Translator/src/Intl/IntlMessageParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function parseLiteral(int $nestingLevel, string $parentArgType): array
];
}

private function tryParseLeftAngleBracket(): string|null
private function tryParseLeftAngleBracket(): ?string
{
if (
!$this->isEOF()
Expand All @@ -186,7 +186,7 @@ private function tryParseLeftAngleBracket(): string|null
* a character that requires quoting (that is, "only where needed"), and works the same in
* nested messages as on the top level of the pattern. The new behavior is otherwise compatible.
*/
private function tryParseQuote(string $parentArgType): string|null
private function tryParseQuote(string $parentArgType): ?string
{
if ($this->isEOF() || 39 !== $this->char() /* `'` */) {
return null;
Expand Down Expand Up @@ -247,7 +247,7 @@ private function tryParseQuote(string $parentArgType): string|null
private function tryParseUnquoted(
int $nestingLevel,
string $parentArgType,
): string|null {
): ?string {
if ($this->isEOF()) {
return null;
}
Expand Down

0 comments on commit 64e8d2e

Please sign in to comment.