diff options
author | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2014-02-19 09:31:54 +0100 |
---|---|---|
committer | Scrutinizer <auto-fixer@scrutinizer-ci.com> | 2014-02-19 09:31:54 +0100 |
commit | adaee6a5a19a4b0050d189736bd4e6183fee9cf0 (patch) | |
tree | a553fc57c2ff8c99081f8e15fbee7dff2c00adbf /lib/private/template | |
parent | 1e321406ee2d973e937637ab090cbd83a6eb40cf (diff) | |
download | nextcloud-server-adaee6a5a19a4b0050d189736bd4e6183fee9cf0.tar.gz nextcloud-server-adaee6a5a19a4b0050d189736bd4e6183fee9cf0.zip |
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
Diffstat (limited to 'lib/private/template')
-rw-r--r-- | lib/private/template/base.php | 4 | ||||
-rw-r--r-- | lib/private/template/templatefilelocator.php | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/template/base.php b/lib/private/template/base.php index e698d855a91..232a29939cc 100644 --- a/lib/private/template/base.php +++ b/lib/private/template/base.php @@ -30,6 +30,8 @@ class Base { /** * @param string $serverroot * @param string|false $app_dir + * @param string $theme + * @param string $app */ protected function getAppTemplateDirs($theme, $app, $serverroot, $app_dir) { // Check if the app is in the app folder or in the root @@ -47,6 +49,7 @@ class Base { /** * @param string $serverroot + * @param string $theme */ protected function getCoreTemplateDirs($theme, $serverroot) { return array( @@ -119,6 +122,7 @@ class Base { /** * @brief doing the actual work + * @param string $file * @return string content * * Includes the template file, fetches its output diff --git a/lib/private/template/templatefilelocator.php b/lib/private/template/templatefilelocator.php index 05cd752cd4f..4676fceb37d 100644 --- a/lib/private/template/templatefilelocator.php +++ b/lib/private/template/templatefilelocator.php @@ -15,6 +15,7 @@ class TemplateFileLocator { /** * @param string[] $dirs + * @param string $form_factor */ public function __construct( $form_factor, $dirs ) { $this->form_factor = $form_factor; |