From 37820c842f4e6316f6bd2e941f14ff1310e021de Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Thu, 17 May 2012 06:27:08 +0530 Subject: [PATCH] Adjust docs to match their new return types --- libraries/common.lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 5ffca0375a..1584dadceb 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1370,11 +1370,11 @@ function PMA_profilingSupported() } /** - * Displays a form with the Profiling checkbox + * Returns HTML for the form with the Profiling checkbox * * @param string $sql_query sql query * - * @return void + * @return string HTML for the form with the Profiling checkbox * * @access public */ @@ -2599,14 +2599,14 @@ function PMA_externalBug($functionality, $component, $minimum_version, $bugref) } /** - * Generates and echoes an HTML checkbox + * Returns an HTML checkbox * * @param string $html_field_name the checkbox HTML field * @param string $label label for checkbox * @param boolean $checked is it initially checked? * @param boolean $onclick should it submit the form on click? * - * @return void + * @return string HTML for the checkbox */ function PMA_getCheckbox($html_field_name, $label, $checked, $onclick) {