Skip to content

Commit

Permalink
Fix callback execute
Browse files Browse the repository at this point in the history
  • Loading branch information
laxity7 committed Mar 27, 2024
1 parent 5900579 commit 7cf3c65
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 call_user_func($this->callback);
return $this->callback();
}
}

0 comments on commit 7cf3c65

Please sign in to comment.