We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e307d93 commit 6dc6025Copy full SHA for 6dc6025
src/functions.php
@@ -11,7 +11,7 @@
11
* @param bool $invokable
12
* @return mixed
13
*/
14
-function cget(ContainerInterface $container, string $id, $default = null, bool $invokable = false): mixed
+function cget(ContainerInterface $container, string $id, $default = null, bool $invokable = true): mixed
15
{
16
if ($container->has($id)) {
17
return $container->get($id);
0 commit comments