mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-10 13:55:37 +00:00
Merge branch '3.x' into 4.x
* 3.x: Fix CS
This commit is contained in:
@@ -82,6 +82,7 @@ final class StringExtension extends AbstractExtension
|
||||
if (!class_exists(SpanishInflector::class)) {
|
||||
throw new RuntimeError('SpanishInflector is not available.');
|
||||
}
|
||||
|
||||
return $this->spanishInflector ?? $this->spanishInflector = new SpanishInflector();
|
||||
case 'fr':
|
||||
return $this->frenchInflector ?? $this->frenchInflector = new FrenchInflector();
|
||||
|
||||
Reference in New Issue
Block a user