Please sign in to comment.
bug #29794 Always pass $key to NullAdapter->createCacheItem (TysonAndre)
This PR was merged into the 4.2 branch. Discussion ---------- Always pass $key to NullAdapter->createCacheItem | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes (build failure seems unrelated) | Fixed tickets | | License | MIT | Doc PR | Previously, if this were called, it would throw an ArgumentCountError. I'm assuming existing code always checks hasItem, so this bug hasn't impacted many people. This was noticed via static analysis. The get() method was added to NullAdapter in symfony 4.2 Commits ------- 1976d29 Always pass $key to NullAdapter->createCacheItem
- Loading branch information...
Showing with 14 additions and 1 deletion.