Skip to content
Browse files

Get rid of unnecessary property assignment.

It was only used for testing purposes earlier.
  • Loading branch information...
ADmad committed Dec 14, 2016
1 parent f4e8244 commit b69b189986b74fb6a99878818d69ab9e8ff01aef
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/View/View.php
@@ -998,18 +998,14 @@ protected function _render($viewFile, $data = [])
* @param string $viewFile Filename of the view
* @param array $dataForView Data to include in rendered view.
* If empty the current View::$viewVars will be used.
* @return string Rendered output
protected function _evaluate($viewFile, $dataForView)
$this->__viewFile = $viewFile;
include $this->__viewFile;
include $viewFile;
return ob_get_clean();

0 comments on commit b69b189

Please sign in to comment.
You can’t perform that action at this time.