Merge branch '3.x' into 4.x

* 3.x:
  Fix CS
This commit is contained in:
Fabien Potencier
2024-11-30 09:43:08 +01:00
8 changed files with 15 additions and 17 deletions
+1
View File
@@ -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();