8000 Merge branch '5.0' into 5.1 · symfony/symfony-docs@1b0473e · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b0473e

Browse files
committed
Merge branch '5.0' into 5.1
* 5.0: DataCollector `collect` needs a `Throwable`
2 parents e077b5f + 1783f56 commit 1b0473e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiler/data_collector.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ request::
3030

3131
class RequestCollector extends DataCollector
3232
{
33-
public function collect(Request $request, Response $response, \Exception $exception = null)
33+
public function collect(Request $request, Response $response, \Throwable $exception = null)
3434
{
3535
$this->data = [
3636
'method' => $request->getMethod(),

0 commit comments

Comments
 (0)
0