Skip to content

Commit

Permalink
Update functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelamkoff authored Mar 26, 2023
1 parent d343f59 commit 970d487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function cget(ContainerInterface $container, string $id, $default = null, bool $
*/
function conf(ContainerInterface $container): Config
{
return $container->get(Config::app_config);
return new Config($container->get(Config::app_config));
}

/**
Expand Down

0 comments on commit 970d487

Please sign in to comment.