diff options
author | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2016-02-08 15:43:39 +0000 |
---|---|---|
committer | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2016-02-08 15:43:39 +0000 |
commit | 08f0dc906780be699aa9ff8c10faaea0be44855d (patch) | |
tree | bb2219d2d62fa314b57404a8993fe0ce4df1a6ea /lib/private/template.php | |
parent | ec399e6bbc5a16519433e11869e444fd7b198a25 (diff) | |
download | nextcloud-server-08f0dc906780be699aa9ff8c10faaea0be44855d.tar.gz nextcloud-server-08f0dc906780be699aa9ff8c10faaea0be44855d.zip |
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'lib/private/template.php')
-rw-r--r-- | lib/private/template.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/private/template.php b/lib/private/template.php index ae3e857a798..d068150b33b 100644 --- a/lib/private/template.php +++ b/lib/private/template.php @@ -70,6 +70,10 @@ class OC_Template extends \OC\Template\Base { protected static $initTemplateEngineFirstRun = true; + /** + * @param string $app + * @param string $name + */ public function __construct( $app, $name, $renderAs = "", $registerCall = true ) { // Read the selected theme from the config file self::initTemplateEngine($renderAs); @@ -92,6 +96,9 @@ class OC_Template extends \OC\Template\Base { parent::__construct($template, $requestToken, $l10n, $themeDefaults); } + /** + * @param string $renderAs + */ public static function initTemplateEngine($renderAs) { if (self::$initTemplateEngineFirstRun){ @@ -182,7 +189,7 @@ class OC_Template extends \OC\Template\Base { * Checking all the possible locations. * @param string $theme * @param string $app - * @return array + * @return string[] */ protected function findTemplate($theme, $app, $name) { // Check if it is a app template or not. |