Skip to content

Commit

Permalink
Fix display()
Browse files Browse the repository at this point in the history
  • Loading branch information
sleuthhound committed Feb 18, 2015
1 parent f978d32 commit 826f590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fenom/StorageTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function resetVars()
public function display($template, array $vars = array())
{
/* @var \Fenom|StorageTrait $this */
return $this->_vars = $this->getTemplate($template)->display($template, $vars ? $vars + $this->_vars : $this->_vars);
return $this->_vars = $this->getTemplate($template)->display($vars ? $vars + $this->_vars : $this->_vars);
}

/**
Expand Down Expand Up @@ -154,4 +154,4 @@ public function pipe($template, $callback, array $vars = array(), $chunk = 1e6)
ob_end_flush();
return $data;
}
}
}

0 comments on commit 826f590

Please sign in to comment.