summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-04-15 22:55:20 +0200
committerBart Visscher <bartv@thisnet.nl>2014-04-15 22:55:20 +0200
commita4b7f5155fbd0c66fa418199305fccd5c2e7bb31 (patch)
tree3f1be6a3fd81387d47b5966ec0fd1c8d07aa48c1 /lib/private/app.php
parentd826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff)
downloadnextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.tar.gz
nextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.zip
Fix PHPdoc in lib/private
using scrutinizer patch
Diffstat (limited to 'lib/private/app.php')
-rw-r--r--lib/private/app.php17
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 58bf67c1d47..c5fcad8f005 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -459,9 +459,11 @@ class OC_App{
return false;
}
/**
- * Get the directory for the given app.
- * If the app is defined in multiple directories, the first one is taken. (false if not found)
- */
+ * Get the directory for the given app.
+ * If the app is defined in multiple directories, the first one is taken. (false if not found)
+ * @param string $appid
+ * @return string|false
+ */
public static function getAppPath($appid) {
if( ($dir = self::findAppInDirectories($appid)) != false) {
return $dir['path'].'/'.$appid;
@@ -470,9 +472,11 @@ class OC_App{
}
/**
- * Get the path for the given app on the access
- * If the app is defined in multiple directories, the first one is taken. (false if not found)
- */
+ * Get the path for the given app on the access
+ * If the app is defined in multiple directories, the first one is taken. (false if not found)
+ * @param string $appid
+ * @return string|false
+ */
public static function getAppWebPath($appid) {
if( ($dir = self::findAppInDirectories($appid)) != false) {
return OC::$WEBROOT.$dir['url'].'/'.$appid;
@@ -482,6 +486,7 @@ class OC_App{
/**
* get the last version of the app, either from appinfo/version or from appinfo/info.xml
+ * @param string $appid
* @return string
*/
public static function getAppVersion($appid) {