@@ -94,7 +94,7 @@ |
||
94 | 94 | * @param string $domain translation domain name |
95 | 95 | * @param string|null $code optional language code (defaults to the current language) |
96 | 96 | * |
97 | - * @return callable function ($text, array $tokens) : string |
|
97 | + * @return \Closure function ($text, array $tokens) : string |
|
98 | 98 | */ |
99 | 99 | public static function domain($domain, $code = null) |
100 | 100 | { |