Skip to content

Commit

Permalink
invalidationMethod only ever contains integer values (this changes It…
Browse files Browse the repository at this point in the history
…em to match ItemInterface)
  • Loading branch information
DavidGoodwin committed Jun 26, 2020
1 parent 8f1d28c commit 337aca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Stash/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Item implements ItemInterface
/**
* Invalidation method
*
* @var string
* @var int
*/
protected $invalidationMethod = Invalidation::PRECOMPUTE;

Expand Down Expand Up @@ -269,7 +269,7 @@ public function get()
/**
* {@inheritdoc}
*
* @param string $invalidation
* @param int $invalidation
* @param mixed $arg
* @param mixed $arg2
*/
Expand Down

0 comments on commit 337aca8

Please sign in to comment.