1
0
mirror of synced 2025-02-16 20:23:15 +03:00

fix for case-independency for the environment

This commit is contained in:
Pavel 2020-10-07 14:53:45 +03:00
parent 12cb4b48c9
commit ac0a3d2bac

View File

@ -107,7 +107,7 @@ class ContainerBuilder implements BuilderInterface
*/
public function setEnv(string $environmentType = Environment::DEV): self
{
$this->env = $environmentType;
$this->env = strtoupper($environmentType);
return $this;
}