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:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-08 14:47:55 +0400
committerJoas Schilling <nickvergessen@gmx.de>2014-02-08 14:47:55 +0400
commitb330d07b51a983dc563a91244a3c83e691c9e97d (patch)
tree1142ec91b86d5da36e568ffcb4a25f5fd55b01fe /lib/private/installer.php
parent81031984a6714feffc8b1a8e523988ab83f56515 (diff)
Fix more documentation failes
Issue #7111
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php27
1 files changed, 13 insertions, 14 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 43785adc006..1b974c6e5a5 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -25,10 +25,6 @@
*/
class OC_Installer{
/**
- * @brief Installs an app
- * @param $data array with all information
- * @throws \Exception
- * @returns integer
*
* This function installs an app. All information needed are passed in the
* associative array $data.
@@ -55,7 +51,11 @@ class OC_Installer{
*
* It is the task of oc_app_install to create the tables and do whatever is
* needed to get the app working.
- * @return string
+ *
+ * @brief Installs an app
+ * @param array $data with all information
+ * @throws \Exception
+ * @return integer
*/
public static function installApp( $data = array()) {
$l = \OC_L10N::get('lib');
@@ -220,7 +220,7 @@ class OC_Installer{
/**
* @brief checks whether or not an app is installed
- * @param $app app
+ * @param string $app app
* @returns true/false
*
* Checks whether or not an app is installed, i.e. registered in apps table.
@@ -236,7 +236,7 @@ class OC_Installer{
/**
* @brief Update an application
- * @param $data array with all information
+ * @param array $data with all information
*
* This function installs an app. All information needed are passed in the
* associative array $data.
@@ -270,7 +270,7 @@ class OC_Installer{
/**
* @brief Check if an update for the app is available
- * @param $name name of the application
+ * @param string $name name of the application
* @return string|false false or the version number of the update
*
* The function will check if an update for a version is available
@@ -298,8 +298,8 @@ class OC_Installer{
/**
* @brief Check if app is already downloaded
- * @param $name name of the application to remove
- * @returns true/false
+ * @param string $name name of the application to remove
+ * @return boolean
*
* The function will check if the app is already downloaded in the apps repository
*/
@@ -316,7 +316,7 @@ class OC_Installer{
* @brief Removes an app
* @param string $name name of the application to remove
* @param $options array with options
- * @returns true/false
+ * @return boolean
*
* This function removes an app. $options is an associative array. The
* following keys are optional:ja
@@ -395,8 +395,7 @@ class OC_Installer{
/**
* install an app already placed in the app folder
* @param string $app id of the app to install
- * @returns array see OC_App::getAppInfo
- * @return string
+ * @return integer
*/
public static function installShippedApp($app) {
//install the database
@@ -431,7 +430,7 @@ class OC_Installer{
/**
* check the code of an app with some static code checks
* @param string $folder the folder of the app to check
- * @returns true for app is o.k. and false for app is not o.k.
+ * @return boolean true for app is o.k. and false for app is not o.k.
*/
public static function checkCode($appname, $folder) {