fixup! Upgrade jawira/case-converter (fixes #262)

This commit is contained in:
Pierre Rudloff 2020-02-23 17:30:34 +01:00
parent 0c18535ac1
commit 09bbe3c196

View file

@ -240,7 +240,7 @@ class Config
{ {
foreach (get_object_vars($this) as $prop => $value) { foreach (get_object_vars($this) as $prop => $value) {
$convert = new Convert($prop); $convert = new Convert($prop);
$env = getenv($convert->toSnake()); $env = getenv($convert->toMacro());
if ($env) { if ($env) {
$this->$prop = Yaml::parse($env); $this->$prop = Yaml::parse($env);
} }