Skip to content

Commit

Permalink
fixed default value of invalidation argument for method get
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Gorbylev committed Jun 4, 2015
1 parent 46c83b6 commit 6158d40
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 6158d40

Please sign in to comment.