@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | public function translate(string|Stringable $message, mixed ...$parameters): string |
57 | 57 | { |
58 | - $message = (string) $message; |
|
58 | + $message = (string)$message; |
|
59 | 59 | |
60 | 60 | if (empty($message)) { |
61 | 61 | return ''; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | // Plural option is returned, we need to choose the right one |
71 | 71 | if (is_array($translation)) { |
72 | - $plural = is_numeric($parameters[0] ?? null) ? $this->catalogue->plural((int) $parameters[0]) : Plural::Other; |
|
72 | + $plural = is_numeric($parameters[0] ?? null) ? $this->catalogue->plural((int)$parameters[0]) : Plural::Other; |
|
73 | 73 | $translation = $this->getVariant($message, $translation, $plural); |
74 | 74 | } |
75 | 75 |