From 19c7193c4c3b54efc053d8fee98cb5d00fd79c18 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 21 Jul 2010 00:28:14 +0000 Subject: - Patch #855410 by aspilicious: add missing doc and newlines in updater.inc. --- includes/updater.inc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'includes/updater.inc') diff --git a/includes/updater.inc b/includes/updater.inc index 074d3780d..d7bef08a5 100644 --- a/includes/updater.inc +++ b/includes/updater.inc @@ -23,6 +23,7 @@ interface DrupalUpdaterInterface { /** * Checks if the project is installed. + * * @return bool */ public function isInstalled(); @@ -49,6 +50,7 @@ interface DrupalUpdaterInterface { * @param string $directory * * @return bool + * TRUE if the project is installed, FALSE if not. */ public static function canUpdateDirectory($directory); @@ -105,6 +107,7 @@ class Updater { * * @param string $directory * Extracted Drupal project. + * * @return string * The class name which can work with this project type. */ @@ -129,6 +132,7 @@ class Updater { * * @param string $directory * Directory to search in. + * * @return string * Path to the info file. */ @@ -155,7 +159,9 @@ class Updater { * provide their canonical name. * * @param string $directory + * * @return string + * The name of the project. */ public static function getProjectName($directory) { return basename($directory); @@ -166,7 +172,9 @@ class Updater { * * @param string $directory * Directory to search for the info file. + * * @return string + * The title of the project. */ public static function getProjectTitle($directory) { $info_file = self::findInfoFile($directory); @@ -182,6 +190,7 @@ class Updater { * * @param array $overrides * An array of overrides for the default parameters. + * * @return array * An array of configuration parameters for an update or install operation. */ -- cgit v1.2.3