Skip to content

Commit

Permalink
Merge branch '5.1'
Browse files Browse the repository at this point in the history
* 5.1:
  DataCollector `collect` needs a `Throwable`
  • Loading branch information
javiereguiluz committed May 22, 2020
2 parents 2505f7e + 1b0473e commit dd5c231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiler/data_collector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ request::

class RequestCollector extends DataCollector
{
public function collect(Request $request, Response $response, \Exception $exception = null)
public function collect(Request $request, Response $response, \Throwable $exception = null)
{
$this->data = [
'method' => $request->getMethod(),
Expand Down

0 comments on commit dd5c231

Please sign in to comment.