diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-04-21 15:44:54 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-04-21 15:44:54 +0200 |
commit | e88731a477991f54120939724da3c8a455c48b97 (patch) | |
tree | b33e14f6bce285890135bce4bdd3ab8099d6819b /lib/private/templatelayout.php | |
parent | 4fe5ca1908757781872133c7140f4c8848e94ac6 (diff) | |
download | nextcloud-server-e88731a477991f54120939724da3c8a455c48b97.tar.gz nextcloud-server-e88731a477991f54120939724da3c8a455c48b97.zip |
Some more PHPDoc fixes
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r-- | lib/private/templatelayout.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index 0c0c8d9c8d7..b7ac02a753d 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -1,8 +1,6 @@ <?php use Assetic\Asset\AssetCollection; use Assetic\Asset\FileAsset; -use Assetic\Asset\GlobAsset; -use Assetic\AssetManager; use Assetic\AssetWriter; use Assetic\Filter\CssRewriteFilter; @@ -99,6 +97,10 @@ class OC_TemplateLayout extends OC_Template { } } + /** + * @param $styles + * @return array + */ static public function findStylesheetFiles($styles) { // Read the selected theme from the config file $theme = OC_Util::getTheme(); @@ -113,6 +115,10 @@ class OC_TemplateLayout extends OC_Template { return $locator->getResources(); } + /** + * @param $scripts + * @return array + */ static public function findJavascriptFiles($scripts) { // Read the selected theme from the config file $theme = OC_Util::getTheme(); @@ -168,6 +174,10 @@ class OC_TemplateLayout extends OC_Template { $this->append('cssfiles', OC_Helper::linkTo('assets', "$cssHash.css")); } + /** + * @param $files + * @return string + */ private static function hashScriptNames($files) { $files = array_map(function ($item) { |