Skip to content

Commit

Permalink
Fix to PHP 5.6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hall committed Mar 21, 2018
1 parent a8ea68d commit 9598e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CachingObjectWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct($objectToWrap, CacheItemPoolInterface $cacheItemPool
$this->expiryInSeconds = $expiryInSeconds;
}

public function __call(string $name, array $arguments)
public function __call($name, $arguments)
{
$cacheKey = sha1(get_class($this->wrappedObject).$name.serialize($arguments));

Expand Down

0 comments on commit 9598e46

Please sign in to comment.