Closed PhilETaylor closed 4 years ago
looks like this might be fixed using dev-master
?
Yup dev-master
is working with "just released" Symfony 4.4.0-BETA1 - please can you bump a release so we can peg to that?
Fixed in master yes.
3.2.0
will be released in few days.
Thank you !
I've a problem similar to this. I've version 3.2.1
and I get this error
Fatal error: Declaration of Snc\RedisBundle\Profiler\Storage\RedisProfilerStorage::find($ip, $url, $limit, $method, $start = NULL, $end = NULL) must be compatible with Symfony\Component\HttpKernel\Profiler\ProfilerStorageInterface::find($ip, $url, $limit, $method, $start = NULL, $end = NULL): array in /var/www/musement.com/current/vendor/snc/redis-bundle/Profiler/Storage/RedisProfilerStorage.php on line 29
[25-Feb-2020 08:28:54 UTC] PHP Fatal error: Declaration of Snc\RedisBundle\Profiler\Storage\RedisProfilerStorage::find($ip, $url, $limit, $method, $start = NULL, $end = NULL) must be compatible with Symfony\Component\HttpKernel\Profiler\ProfilerStorageInterface::find($ip, $url, $limit, $method, $start = NULL, $end = NULL): array in /var/www/musement.com/current/vendor/snc/redis-bundle/Profiler/Storage/RedisProfilerStorage.php on line 29
Looking at 2 method I see that the one in this bundle is
public function find($ip, $url, $limit, $method, $start = null, $end = null)
while the SF one is
public function find($ip, $url, $limit, $method, $start = null, $end = null): array;
@hpatoio which version of Symfony are you using?
Symfony 4.4.0-BETA1 and snc/redis-bundle: 3.1.1