Skip to content

Commit

Permalink
Codestyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavlo Pavliukovych committed Jul 17, 2023
1 parent cbe7894 commit 22eb89a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/ProfilerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 22eb89a

Please sign in to comment.