Skip to content

Commit d6e8607

Browse files
committed
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 22fcd03 commit d6e8607

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/enqueue-bundle/Profiler/MessageQueueCollector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
class MessageQueueCollector extends AbstractMessageQueueCollector
1010
{
11+
/**
12+
* @return void
13+
*/
1114
public function collect(Request $request, Response $response, Throwable $exception = null)
1215
{
1316
$this->collectInternal($request, $response);

0 commit comments

Comments
 (0)