Skip to content

Commit dbd4e87

Browse files
JoshuaBehrensnicolas-grekas
authored andcommitted
Fix typo in exception message langage to language
1 parent cb127a4 commit dbd4e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExpressionLanguageProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function getFunctions(): array
4545

4646
new ExpressionFunction('env', fn ($arg) => sprintf('$container->getEnv(%s)', $arg), function (array $variables, $value) {
4747
if (!$this->getEnv) {
48-
throw new LogicException('You need to pass a getEnv closure to the expression langage provider to use the "env" function.');
48+
throw new LogicException('You need to pass a getEnv closure to the expression language provider to use the "env" function.');
4949
}
5050

5151
return ($this->getEnv)($value);

0 commit comments

Comments
 (0)