api-platform / docs

API Platform documentation
https://api-platform.com/docs/
164 stars 1.06k forks source link

Update filters.md #1869

Closed fouteox closed 8 months ago

fouteox commented 8 months ago
abstract class AbstractFilter implements FilterInterface :

public function __construct(protected ManagerRegistry $managerRegistry, LoggerInterface $logger = null, protected ?array $properties = null, protected ?NameConverterInterface $nameConverter = null)
{
    $this->logger = $logger ?? new NullLogger();
}

The tild should not be in second position, it should be the log as shown in the AbstractFilter constructor

soyuka commented 8 months ago

thanks