Skip to content

Commit

Permalink
Update InMemoryCache.php
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Tekiela <[email protected]>
  • Loading branch information
kamil-tekiela committed Sep 14, 2023
1 parent 840aec6 commit 1bb27ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Cache/InMemoryCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
final class InMemoryCache implements CacheInterface, GetAllInterface
{
/** @var array<string, string> */
private array $cache;
private array $cache = [];

public function __construct(MoParser $parser)
{
$this->cache = [];
$parser->parseIntoCache($this);
}

Expand Down

0 comments on commit 1bb27ca

Please sign in to comment.