doc/IcingawebController: Do not use 'void' results

This commit is contained in:
Eric Lippmann 2014-12-09 14:28:58 +01:00
parent 7605076dc5
commit e901e545c3

View File

@ -37,7 +37,7 @@ class Doc_IcingawebController extends DocController
*/ */
public function tocAction() public function tocAction()
{ {
return $this->renderToc($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter'); $this->renderToc($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
} }
/** /**
@ -54,7 +54,7 @@ class Doc_IcingawebController extends DocController
404 404
); );
} }
return $this->renderChapter( $this->renderChapter(
$this->getPath(), $this->getPath(),
$chapterId, $chapterId,
'doc/icingaweb/toc', 'doc/icingaweb/toc',
@ -67,6 +67,6 @@ class Doc_IcingawebController extends DocController
*/ */
public function pdfAction() public function pdfAction()
{ {
return $this->renderPdf($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter'); $this->renderPdf($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
} }
} }