mirror of
https://github.com/flarum/core.git
synced 2025-08-17 13:54:18 +02:00
Add todo about model validation
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
use Closure;
|
||||
|
||||
/**
|
||||
* @todo implement Symfony\Component\Translation\TranslatorInterface
|
||||
*/
|
||||
class Translator
|
||||
{
|
||||
protected $translations;
|
||||
@@ -16,9 +19,7 @@ class Translator
|
||||
|
||||
public function plural($count)
|
||||
{
|
||||
$callback = $this->plural;
|
||||
|
||||
return $callback($count);
|
||||
return {$this->plural}($count);
|
||||
}
|
||||
|
||||
public function translate($key, array $input = [])
|
||||
|
Reference in New Issue
Block a user