mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Fix CallbackDependency
(#20158)
This commit is contained in:
@ -34,6 +34,6 @@ class CallbackDependency extends Dependency
|
||||
*/
|
||||
protected function generateDependencyData($cache)
|
||||
{
|
||||
return $this->callback();
|
||||
return ($this->callback)();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user