We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c47f7 commit 9b8e593Copy full SHA for 9b8e593
1 file changed
lib/Phpfastcache/Core/Pool/CacheItemPoolTrait.php
@@ -145,14 +145,6 @@ public function getItem(string $key): ExtendedCacheItemInterface
145
$driverArray = $this->driverRead($item);
146
147
if ($driverArray) {
148
- if (!\is_array($driverArray)) {
149
- throw new PhpfastcacheCoreException(
150
- sprintf(
151
- 'The driverRead method returned an unexpected variable type: %s',
152
- \gettype($driverArray)
153
- )
154
- );
155
- }
156
$driverData = $this->driverUnwrapData($driverArray);
157
158
if ($this->getConfig()->isPreventCacheSlams()) {
0 commit comments