Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DataCollector/RequestDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function collect(Request $request, Response $response, ?\Throwable $excep
{
parent::collect($request, $response, $exception);

$controller = explode('::', $request->get('_controller'));
$controller = explode('::', $request->attributes->getString('_controller'));

if (2 !== \count($controller)) {
return;
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ parameters:
count: 1
path: DataCollector/RequestDataCollector.php

-
message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php

-
message: "#^Parameter \\$annotationReader of method Rezzza\\\\SecurityBundle\\\\DataCollector\\\\RequestDataCollector\\:\\:__construct\\(\\) has invalid type Doctrine\\\\Common\\\\Annotations\\\\Reader\\.$#"
count: 1
Expand Down
Loading