Commit 68b835f
committed
fix(Instrumentation/Cache): add iterable value type for $metadata parameter
Satisfies PHPStan's missingType.iterableValue rule on the get() methods of
TraceableCacheAdapter and TagAwareTraceableCacheAdapter while staying
contravariant with Symfony's CacheInterface::get() signature.1 parent 38e07e6 commit 68b835f
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- src/Instrumentation/Symfony/Cache
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments