";
@@ -525,7 +525,7 @@ class Adminer {
/** Print extra text in the end of a select form
* @param string[] fields holding e-mails
* @param string[] selectable columns
- * @return null
+ * @return void
*/
function selectEmailPrint($emailFields, $columns) {
}
@@ -693,7 +693,7 @@ class Adminer {
* @param array[]
* @param mixed
* @param bool
- * @return null
+ * @return void
*/
function editRowPrint($table, $fields, $row, $update) {
}
@@ -799,7 +799,7 @@ class Adminer {
/** Export database structure
* @param string
- * @return null prints data
+ * @return void prints data
*/
function dumpDatabase($db) {
}
@@ -808,7 +808,7 @@ class Adminer {
* @param string
* @param string
* @param int 0 table, 1 view, 2 temporary view table
- * @return null prints data
+ * @return void prints data
*/
function dumpTable($table, $style, $is_view = 0) {
if ($_POST["format"] != "sql") {
@@ -843,7 +843,7 @@ class Adminer {
* @param string
* @param string
* @param string
- * @return null prints data
+ * @return void prints data
*/
function dumpData($table, $style, $query) {
global $connection;
@@ -964,7 +964,7 @@ class Adminer {
}
/** Print text after export
- * @return null prints data
+ * @return void prints data
*/
function dumpFooter() {
if ($_POST["format"] == "sql") {
@@ -992,7 +992,7 @@ class Adminer {
/** Print navigation after Adminer title
* @param string can be "auth" if there is no database connection, "db" if there is no database selected, "ns" with invalid schema
- * @return null
+ * @return void
*/
function navigation($missing) {
global $VERSION, $drivers, $connection;
@@ -1083,7 +1083,7 @@ class Adminer {
/** Print databases list in menu
* @param string
- * @return null
+ * @return void
*/
function databasesPrint($missing) {
global $adminer, $connection;
@@ -1118,7 +1118,7 @@ class Adminer {
/** Print table list in menu
* @param TableStatus[] result of table_status('', true)
- * @return null
+ * @return void
*/
function tablesPrint($tables) {
echo "
" . script("mixin(qs('#tables'), {onmouseover: menuOver, onmouseout: menuOut});");
diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php
index de33995e..09cad415 100644
--- a/adminer/include/design.inc.php
+++ b/adminer/include/design.inc.php
@@ -6,7 +6,7 @@ namespace Adminer;
* @param string
* @param mixed ["key" => "link", "key2" => ["link", "desc"]], null for nothing, false for driver only, true for driver and server
* @param string used after colon in title and heading, should be HTML escaped
-* @return null
+* @return void
*/
function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
global $LANG, $VERSION, $adminer, $drivers;
@@ -128,7 +128,7 @@ const thousandsSeparator = '" . js_escape(lang(',')) . "';")
}
/** Send HTTP headers
-* @return null
+* @return void
*/
function page_headers() {
global $adminer;
@@ -177,7 +177,7 @@ function get_nonce() {
/** Print flash and error messages
* @param string
-* @return null
+* @return void
*/
function page_messages($error) {
global $adminer;
@@ -197,7 +197,7 @@ function page_messages($error) {
/** Print HTML footer
* @param string "auth", "db", "ns"
-* @return null
+* @return void
*/
function page_footer($missing = "") {
global $adminer;
diff --git a/adminer/include/driver.inc.php b/adminer/include/driver.inc.php
index b7f5f3bb..a9af6ab0 100644
--- a/adminer/include/driver.inc.php
+++ b/adminer/include/driver.inc.php
@@ -6,7 +6,7 @@ $drivers = array();
/** Add a driver
* @param string
* @param string
-* @return null
+* @return void
*/
function add_driver($id, $name) {
global $drivers;
diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php
index 005db513..ebb5f89b 100644
--- a/adminer/include/editing.inc.php
+++ b/adminer/include/editing.inc.php
@@ -127,7 +127,7 @@ function referencable_primary($self) {
* @param string or array in which case [0] of every element is used
* @param int
* @param int
-* @return null
+* @return void
*/
function textarea($name, $value, $rows = 10, $cols = 80) {
echo "