Skip to content

Commit

Permalink
Dev: PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jan 15, 2018
1 parent 58d825d commit d46100a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/core/LSETwigViewRenderer.php
Expand Up @@ -238,12 +238,11 @@ public function convertTwigToHtml($sString, $aDatas, $oTemplate)
* Find which template should be used to render a given view
* @param string $sView the view (layout) to render
* @param Template $oRTemplate the template where the custom option page should be looked for
* @return Template
* @return Template|boolean
*/
private function getTemplateForView($sView, $oRTemplate)
{
while (!file_exists($oRTemplate->viewPath.$sView)) {

$oMotherTemplate = $oRTemplate->oMotherTemplate;
if (!($oMotherTemplate instanceof TemplateConfiguration)) {
return false;
Expand Down

0 comments on commit d46100a

Please sign in to comment.