Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translator/Plural/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public static function fromString($string)
$tree = static::$parser->parse($match['plural']);
$ast = static::createAst($tree);

return new self($numPlurals, $ast);
return new static($numPlurals, $ast);
}

/**
Expand Down

0 comments on commit 1fa84de

Please sign in to comment.