Skip to content

Commit 8e48a1b

Browse files
committed
Fix phpstan incorrect error
1 parent e630664 commit 8e48a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/ProfilerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __invoke(Request $request, string $token): Response
5656
$profile = $this->profiler->loadProfile($token);
5757

5858
// Type hint as int for the $limit argument of the find method was updated in Symfony 5.4.22 and 6.2.8
59-
$limit = (Kernel::VERSION_ID >= 60208 || (Kernel::MAJOR_VERSION === 5 && Kernel::VERSION_ID >= 50422)) ? 100 : '100';
59+
$limit = (Kernel::VERSION_ID >= 60208 || (Kernel::MAJOR_VERSION === 5 && Kernel::VERSION_ID >= 50422)) ? 100 : '100'; // @phpstan-ignore-line
6060

6161
$tokens = array_map(function ($tokenData) {
6262
$profile = $this->profiler->loadProfile($tokenData['token']);

0 commit comments

Comments
 (0)