Skip to content

Commit 970d487

Browse files
authored
Update functions.php
1 parent d343f59 commit 970d487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function cget(ContainerInterface $container, string $id, $default = null, bool $
2828
*/
2929
function conf(ContainerInterface $container): Config
3030
{
31-
return $container->get(Config::app_config);
31+
return new Config($container->get(Config::app_config));
3232
}
3333

3434
/**

0 commit comments

Comments
 (0)