diff --git a/Profiler/PayumCollector.php b/Profiler/PayumCollector.php index e998fcc..58e928b 100644 --- a/Profiler/PayumCollector.php +++ b/Profiler/PayumCollector.php @@ -19,7 +19,7 @@ class PayumCollector extends DataCollector implements ExtensionInterface /** * {@inheritdoc} */ - public function collect(Request $request, Response $response, \Throwable $exception = null): void + public function collect(Request $request, Response $response, ?\Throwable $exception = null): void { foreach ($this->contexts as $context) { $request = $context->getRequest();