Following #120 I tried to move back from my fork to the official bundle, and encountered the following issue :
!! [19-Feb-2020 16:08:35 UTC] PHP Fatal error: Declaration of Knp\DictionaryBundle\DataCollector\DictionaryDataCollector::collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, ?Exception $exception = NULL): void must be compatible with Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, ?Throwable $exception = NULL) in /app/cozysoft/vendor/knplabs/dictionary-bundle/src/Knp/DictionaryBundle/DataCollector/DictionaryDataCollector.php on line 14
Hello there!
Following #120 I tried to move back from my fork to the official bundle, and encountered the following issue :
So here's a fix inspired by what they did on https://github.com/geocoder-php/BazingaGeocoderBundle