Skip to content

Commit b490e0e

Browse files
committed
Revert "MemoryCacheStorage - var_export the data to reproduce certain issues"
This reverts commit dfc004e.
1 parent 1e0c10f commit b490e0e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Cache/MemoryCacheStorage.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace PHPStan\Cache;
44

5-
use function var_export;
6-
75
final class MemoryCacheStorage implements CacheStorage
86
{
97

@@ -32,9 +30,7 @@ public function load(string $key, string $variableKey)
3230
*/
3331
public function save(string $key, string $variableKey, $data): void
3432
{
35-
$item = new CacheItem($variableKey, $data);
36-
@var_export($item, true);
37-
$this->storage[$key] = $item;
33+
$this->storage[$key] = new CacheItem($variableKey, $data);
3834
}
3935

4036
}

0 commit comments

Comments
 (0)