@@ -68,7 +68,7 @@ |
||
| 68 | 68 | $allowMissing = ($options['allowMissing'] ?? false) === true |
| 69 | 69 | ? static function ($key, $options, $locale, $tokenRegex, Polyglot $polyglot) { |
| 70 | 70 | return $polyglot->transformPhrase($key, $options, $locale, $tokenRegex); |
| 71 | - } |
|
| 71 | + } |
|
| 72 | 72 | : null; |
| 73 | 73 | $this->onMissingKey = is_callable($options['onMissingKey'] ?? false) ? $options['onMissingKey'] : $allowMissing; |
| 74 | 74 | } |