Skip to content

Commit

Permalink
Merge pull request #232 from bankiru/get-default-invalidation-value
Browse files Browse the repository at this point in the history
fixed default value of invalidation argument for method get
  • Loading branch information
tedivm committed Jun 7, 2015
2 parents 46c83b6 + 6158d40 commit 57e25bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stash/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private function executeClear()
/**
* {@inheritdoc}
*/
public function get($invalidation = 0, $arg = null, $arg2 = null)
public function get($invalidation = Invalidation::PRECOMPUTE, $arg = null, $arg2 = null)
{
try {
return $this->executeGet($invalidation, $arg, $arg2);
Expand Down

0 comments on commit 57e25bf

Please sign in to comment.