Skip to content

Commit

Permalink
TASK: apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
crydotsnake committed May 7, 2023
1 parent 9f20b83 commit 82df5c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class CacheLifetimeOperation extends AbstractOperation
*/
public function canEvaluate($context)
{
return $this->checkContextForNodeInterface($context);
return $this->checkContextForTraversableNodeInterface($context);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class HasOperation extends AbstractOperation
*/
public function canEvaluate($context)
{
return $this->checkContextForNodeInterface($context);
return $this->checkContextForTraversableNodeInterface($context);
}

/**
Expand Down

0 comments on commit 82df5c4

Please sign in to comment.