Skip to content

Commit

Permalink
Dev: oTemplate is optional argument in dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jun 6, 2018
1 parent f674678 commit 77dc4a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/core/LSETwigViewRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,10 @@ private function renderHtmlPage($sHtml, $oTemplate)
*
* @param string $sString The string of HTML/Twig to convert
* @param array $aDatas Array containing the datas needed to render the view ($thissurvey)
* @param TemplateConfiguration $oTemplate
* @param TemplateConfiguration|null $oTemplate
* @return string
*/
public function convertTwigToHtml($sString, $aDatas, $oTemplate)
public function convertTwigToHtml($sString, $aDatas, $oTemplate = null)
{
// Twig init
$this->_twig = $twig = parent::getTwig();
Expand Down

0 comments on commit 77dc4a8

Please sign in to comment.