Skip to content

Commit

Permalink
haskey check in environment file
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Jun 5, 2024
1 parent 1dcf5b1 commit bc4d921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Core/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private function tryGetFromYaml(string $envVar, mixed $currentValue): mixed
*/
public function has($key): bool
{
return Arr::has([], $key) || Arr::has($this->config, $key);
return Cache::has($key) || Arr::has($this->config, $key);
}

/**
Expand Down

0 comments on commit bc4d921

Please sign in to comment.