diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-19 07:04:37 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-19 07:04:37 +0100 |
commit | 1e321406ee2d973e937637ab090cbd83a6eb40cf (patch) | |
tree | 78eca74636ab68b3f52ebac9c013c55a1526bd43 /lib/private/template/resourcelocator.php | |
parent | 635b8f6b83ae37ac262c5f7a0bd40697824b9b67 (diff) | |
parent | c6f4f85e27a10459422ab9789c894d13f0cd34c7 (diff) | |
download | nextcloud-server-1e321406ee2d973e937637ab090cbd83a6eb40cf.tar.gz nextcloud-server-1e321406ee2d973e937637ab090cbd83a6eb40cf.zip |
Merge pull request #7114 from owncloud/scrutinizer_documentation_patches
polish documentation based on scrutinizer patches
Diffstat (limited to 'lib/private/template/resourcelocator.php')
-rw-r--r-- | lib/private/template/resourcelocator.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/template/resourcelocator.php b/lib/private/template/resourcelocator.php index 9f83673664d..8a3dd5e7fa9 100644 --- a/lib/private/template/resourcelocator.php +++ b/lib/private/template/resourcelocator.php @@ -19,6 +19,10 @@ abstract class ResourceLocator { protected $resources = array(); + /** + * @param string $theme + * @param string $form_factor + */ public function __construct( $theme, $form_factor, $core_map, $party_map ) { $this->theme = $theme; $this->form_factor = $form_factor; @@ -53,6 +57,10 @@ abstract class ResourceLocator { * @param $file the filename * @param $web base for path, default map $root to $webroot */ + /** + * @param string $file + * @param string|false $webroot + */ protected function appendIfExist($root, $file, $webroot = null) { if (is_file($root.'/'.$file)) { if (!$webroot) { |