Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/app.php')
-rw-r--r--lib/public/app.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/public/app.php b/lib/public/app.php
index e0b5682242b..96162299ec4 100644
--- a/lib/public/app.php
+++ b/lib/public/app.php
@@ -85,6 +85,7 @@ class App {
* Register a Configuration Screen that should appear in the personal settings section.
* @param $app string appid
* @param $page string page to be included
+ * @return void
*/
public static function registerPersonal( $app, $page ) {
\OC_App::registerPersonal( $app, $page );
@@ -92,8 +93,9 @@ class App {
/**
* Register a Configuration Screen that should appear in the Admin section.
- * @param $app string appid
- * @param $page string page to be included
+ * @param string $app string appid
+ * @param string $page string page to be included
+ * @return void
*/
public static function registerAdmin( $app, $page ) {
\OC_App::registerAdmin( $app, $page );
@@ -111,7 +113,7 @@ class App {
/**
* checks whether or not an app is enabled
- * @param string
+ * @param string $app
* @return boolean
*
* This function checks whether or not an app is enabled.
@@ -122,7 +124,8 @@ class App {
/**
* Check if the app is enabled, redirects to home if not
- * @param string
+ * @param string $app
+ * @return void
*/
public static function checkAppEnabled( $app ) {
\OC_Util::checkAppEnabled( $app );
@@ -130,8 +133,8 @@ class App {
/**
* Get the last version of the app, either from appinfo/version or from appinfo/info.xml
- * @param string
- * @return boolean
+ * @param string $app
+ * @return string
*/
public static function getAppVersion( $app ) {
return \OC_App::getAppVersion( $app );