File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ protected function driverDelete(CacheItemInterface $item): bool
116116 * Check for Cross-Driver type confusion
117117 */
118118 if ($ item instanceof Item) {
119- return (bool )$ this ->instance ->del ([$ item ->getKey ()]);
119+ return (bool ) $ this ->instance ->del ([$ item ->getKey ()]);
120120 } else {
121121 throw new phpFastCacheInvalidArgumentException ('Cross-Driver type confusion detected ' );
122122 }
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ protected function driverDelete(CacheItemInterface $item): bool
120120 * Check for Cross-Driver type confusion
121121 */
122122 if ($ item instanceof Item) {
123- return $ this ->instance ->del ($ item ->getKey ());
123+ return ( bool ) $ this ->instance ->del ($ item ->getKey ());
124124 } else {
125125 throw new phpFastCacheInvalidArgumentException ('Cross-Driver type confusion detected ' );
126126 }
You can’t perform that action at this time.
0 commit comments