8000 compat DataCollection SF5, fixes #381 · msgphp/msgphp@8babe89 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8babe89

Browse files
committed
compat DataCollection SF5, fixes #381
1 parent 85be2d9 commit 8babe89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/User/Infrastructure/Security/DataCollector.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ public function __construct(?TokenStorageInterface $tokenStorage = null, ?RoleHi
3838
$this->repository = $repository;
3939
}
4040

41-
public function collect(Request $request, Response $response, ?\Exception $exception = null): void
41+
/**
42+
* @param \Throwable|\Exception|null $exception
43+
*/
44+
public function collect(Request $request, Response $response, $exception = null): void
4245
{
4346
/** @psalm-suppress TooManyArguments */
4447
parent::collect($request, $response, $exception);

0 commit comments

Comments
 (0)
0