Skip to content

Commit 56714d3

Browse files
committed
(fix): incorrect env variables when using integers as keys£
1 parent 821af6b commit 56714d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helpers/Env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static function getMindsEnv() : array
2222
continue;
2323
}
2424
$keyPieces = explode(static::ENV_ARRAY_DELIMITER, substr($envKey, strlen(static::ENV_PREFIX)));
25-
$config = array_merge_recursive($config, static::nestArray($keyPieces, $value));
25+
$config = array_replace_recursive($config, static::nestArray($keyPieces, $value));
2626
}
2727
return $config;
2828
}

0 commit comments

Comments
 (0)