From 7cf3c657a09f5b113047c929e291e5838c4830f0 Mon Sep 17 00:00:00 2001 From: Vlad Varlamov Date: Wed, 27 Mar 2024 10:13:01 +0400 Subject: [PATCH] Fix callback execute --- framework/caching/CallbackDependency.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/caching/CallbackDependency.php b/framework/caching/CallbackDependency.php index 4ee48c975ff..5a4a8d2cf21 100644 --- a/framework/caching/CallbackDependency.php +++ b/framework/caching/CallbackDependency.php @@ -34,6 +34,6 @@ class CallbackDependency extends Dependency */ protected function generateDependencyData($cache) { - return call_user_func($this->callback); + return $this->callback(); } }