Skip to content

Commit

Permalink
Reverted fixed serialization cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinsarca committed Jan 4, 2025
1 parent 8a4c532 commit 72e4f84
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ClosureInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ public function __unserialize(array $data): void
$this->body = $data['body'];
$this->use = $data['use'] ?? null;
$this->flags = $data['flags'] ?? 0;
if ($this->key) {
// save it to cache
self::$cache[$this->key] = $this;
}
}

public static function createKey(string $body, ?string $header = null): string
Expand Down

0 comments on commit 72e4f84

Please sign in to comment.