-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
not a bugReported issue is not a bugReported issue is not a bug
Description
Hi all)
Bug with boolean and service consruct in di
/**
* @var boolean *false*
*/
$returnValue = $this->{$method->getName()}();
//work *like hack*
$di->set($name, function() use ($returnValue) {return $returnValue;});
//bad links
$di->set($name, function() use (&$returnValue) {return $returnValue;});
//not work
$di->set($name, $returnValue);i am n`t c developer
ovr@663624f
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Metadata
Metadata
Assignees
Labels
not a bugReported issue is not a bugReported issue is not a bug