Skip to content

Commit

Permalink
Fix CallbackDependency (yiisoft#20158)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob006 committed May 16, 2024
1 parent 90c0eb0 commit 391997a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/caching/CallbackDependency.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ class CallbackDependency extends Dependency
*/
protected function generateDependencyData($cache)
{
return $this->callback();
return ($this->callback)();
}
}

0 comments on commit 391997a

Please sign in to comment.