Skip to content

Commit

Permalink
style: null type operator
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Feb 29, 2024
1 parent bfd7335 commit 4d9d17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ParameterValidator/FilterLocatorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private function setFilterLocator(?ContainerInterface $filterLocator, bool $allo
/**
* Gets a filter with a backward compatibility.
*/
private function getFilter(string $filterId): FilterInterface|null
private function getFilter(string $filterId): ?FilterInterface
{
if ($this->filterLocator && $this->filterLocator->has($filterId)) {
return $this->filterLocator->get($filterId);
Expand Down

0 comments on commit 4d9d17a

Please sign in to comment.