Skip to content

Commit 3d74b19

Browse files
authored
Merge pull request #431 from ruudk/patch-1
Add `void` return type to `collect()` method
2 parents cace470 + 42eb071 commit 3d74b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Collector/Collector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function getTotalDuration()
195195
/**
196196
* {@inheritdoc}
197197
*/
198-
public function collect(Request $request, Response $response, $exception = null)
198+
public function collect(Request $request, Response $response, $exception = null): void
199199
{
200200
// We do not need to collect any data from the Symfony Request and Response
201201
}

0 commit comments

Comments
 (0)