Skip to content

Commit 9bc089e

Browse files
authored
Add void return type in MessageQueueCollector
Fixes: ``` Method "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect()" might add "void" as a native return type declaration in the future. Do the same in implementation "Enqueue\Bundle\Profiler\MessageQueueCollector" now to avoid errors or add an explicit @return annotation to suppress this message. ```
1 parent 67af904 commit 9bc089e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/enqueue-bundle/Profiler/MessageQueueCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class MessageQueueCollector extends AbstractMessageQueueCollector
1010
{
11-
public function collect(Request $request, Response $response, Throwable $exception = null)
11+
public function collect(Request $request, Response $response, Throwable $exception = null): void
1212
{
1313
$this->collectInternal($request, $response);
1414
}

0 commit comments

Comments
 (0)