Strict error PHP 5.4

In PHP 5.4 the strict error is showing in beforeRender, it is because this method does not have the same interface of Helper.php It was missing the $viewFile param