Skip to content

Commit

Permalink
Merge pull request #23 from tacman/patch-3
Browse files Browse the repository at this point in the history
explicit nullable
  • Loading branch information
jbtronics authored Feb 6, 2025
2 parents deb51a9 + 7cc1a08 commit 9cd35a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Profiler/SettingsCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct(

}

public function collect(Request $request, Response $response, \Throwable $exception = null): void
public function collect(Request $request, Response $response, ?\Throwable $exception = null): void
{
$settings_classes = $this->configurationRegistry->getSettingsClasses();
$metadata = [];
Expand Down Expand Up @@ -111,4 +111,4 @@ public function getSettingsParameterValue(string $class, string $propertyName):
$reflectionClass = new \ReflectionClass($class);
return $reflectionClass->getProperty($propertyName)->getValue($this->data['settings'][$class]);
}
}
}

0 comments on commit 9cd35a4

Please sign in to comment.