Skip to content

Commit

Permalink
Fix PHP 8.4 deprecation notice in JMS\SerializerBundle\Debug\DataColl…
Browse files Browse the repository at this point in the history
…ector::collect method
  • Loading branch information
SerafimArts committed Aug 2, 2024
1 parent 100725a commit 5808914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Debug/DataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function __construct(
$this->reset();
}

public function collect(Request $request, Response $response, \Throwable $exception = null): void
public function collect(Request $request, Response $response, ?\Throwable $exception = null): void
{
}

Expand Down

0 comments on commit 5808914

Please sign in to comment.