From 478995a23027eb6465bbd9306af0bacf475a0072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Thu, 9 Apr 2026 12:35:41 +0200 Subject: [PATCH] Update reverse_proxy.md --- .../cache/http_cache/reverse_proxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md b/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md index c672765d53..3a2e6fc471 100644 --- a/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md +++ b/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md @@ -20,7 +20,7 @@ To use the Symfony reverse proxy, you must change your `public/index.php` front require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; - return function (array $context) { + return static function (array $context) { - return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); + return new AppCache(new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG'])); };