This commit is contained in:
Fabien Potencier
2024-08-07 19:34:09 +02:00
parent ea4d706da1
commit f5e10e10f1
15 changed files with 88 additions and 90 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ final class StringExtension extends AbstractExtension
case 'en':
return $this->englishInflector ?? $this->englishInflector = new EnglishInflector();
default:
throw new \InvalidArgumentException(sprintf('Locale "%s" is not supported.', $locale));
throw new \InvalidArgumentException(\sprintf('Locale "%s" is not supported.', $locale));
}
}
}