diff --git a/src/Component/Environment.php b/src/Component/Environment.php index 0a21109..e7a0d86 100644 --- a/src/Component/Environment.php +++ b/src/Component/Environment.php @@ -44,6 +44,8 @@ class Environment */ public function __construct(string $value) { + $value = strtoupper($value); + if (!in_array($value, self::AVAILABLE_VALUES)) { throw new InvalidArgumentException(sprintf('Incorrect environment provided: %s', $value)); }