Skip to content

Commit

Permalink
Merge 89c12fa into 7addf5d
Browse files Browse the repository at this point in the history
  • Loading branch information
krizdavid committed Aug 22, 2019
2 parents 7addf5d + 89c12fa commit 2882223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function injectPsrLogger(LoggerInterface $logger = NULL)
* @throws \InvalidArgumentException
* @return string
*/
public function translate($message, ...$arg): string
public function translate($message, ...$arg): ?string
{
if ($message instanceof Phrase) {
return $message->translate($this);
Expand Down

0 comments on commit 2882223

Please sign in to comment.