From f419aca5cae09792f879e5570c51da699d658599 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Wed, 23 May 2012 21:19:25 +0000 Subject: completed a bunch of php doc blocks git-svn-id: http://dev.piwik.org/svn/trunk@6300 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- core/Updater.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'core/Updater.php') diff --git a/core/Updater.php b/core/Updater.php index b3e088e54e..9629723250 100644 --- a/core/Updater.php +++ b/core/Updater.php @@ -137,11 +137,12 @@ class Piwik_Updater } return 'Piwik_'. $componentName .'_Updates_' . $suffix; } - + /** * Update the named component * * @param string $componentName 'core', or plugin name + * @throws Exception|Piwik_Updater_UpdateErrorException * @return array of warning strings if applicable */ public function update($componentName) @@ -224,10 +225,11 @@ class Piwik_Updater } return $componentsWithUpdateFile; } - + /** * Construct list of outdated components * + * @throws Exception * @return array array( componentName => array( oldVersion, newVersion), [...]) */ public function getComponentsWithNewVersion() @@ -293,6 +295,7 @@ class Piwik_Updater * * @param string $file Update script filename * @param array $sqlarray An array of SQL queries to be executed + * @throws Piwik_Updater_UpdateErrorException */ static function updateDatabase($file, $sqlarray) { -- cgit v1.2.3