Commit a0673bc
committed
bug symfony#58260 [Cache] Fix RedisSentinel param types (Paweł Stasicki)
This PR was merged into the 5.4 branch.
Discussion
----------
[Cache] Fix RedisSentinel param types
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
Parameters passed as strings from parse_url to \RedisSentinel constructor cause an exception.
> RedisException : Invalid retry interval in /app/symfony/src/Symfony/Component/Cache/Traits/RedisTrait.php:236
Applies to redis-ext above 6.0.0
Commits
-------
cf73c7e [Cache] Fix RedisSentinel params typesFile tree
2 files changed
+4
-4
lines changed- src/Symfony/Component/Cache
- Tests/Adapter
- Traits
2 files changed
+4
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | | - | |
229 | | - | |
| 228 | + | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
0 commit comments