Skip to content

Commit

Permalink
update file src/BaseConfig.php
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 authored Jan 2, 2024
1 parent de39877 commit c7d0010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function clearCache()
*/
public function __get($key)
{
$config = ((object) $this->config[$key]) ?? null;
$config = isset($this->config[$key]) ? (object) $this->config[$key] : null;
return $config;
}
}

0 comments on commit c7d0010

Please sign in to comment.