From 22eb89a4cc5802940a48c41a80c8ced1eca81598 Mon Sep 17 00:00:00 2001 From: Pavlo Pavliukovych Date: Mon, 17 Jul 2023 13:46:34 +0200 Subject: [PATCH] Codestyle fixes --- src/Controller/ProfilerController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Controller/ProfilerController.php b/src/Controller/ProfilerController.php index d9b52441d..e59ccf893 100644 --- a/src/Controller/ProfilerController.php +++ b/src/Controller/ProfilerController.php @@ -54,6 +54,7 @@ public function __invoke(Request $request, string $token): Response $profile = $this->profiler->loadProfile($token); // Type hint as int for the $limit argument of the find method was updated in Symfony 5.4.22 and 6.2.8 + // @phpstan-ignore-next-line $limit = (Kernel::VERSION_ID >= 60208 || (Kernel::MAJOR_VERSION === 5 && Kernel::VERSION_ID >= 50422)) ? 100 : '100';