1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-18 20:31:19 +02:00

Use more [] in doc-comments

Follow up to 42de70d032
This commit is contained in:
Jan Tojnar
2025-03-02 03:17:14 +01:00
committed by Jakub Vrána
parent 160beb726a
commit 4cdcb44bee
6 changed files with 17 additions and 17 deletions

View File

@@ -512,7 +512,7 @@ class Adminer {
/** Process columns box in select
* @param array selectable columns
* @param array
* @return array [array(select_expressions), array(group_expressions)]
* @return array [[select_expressions], [group_expressions]]
*/
function selectColumnsProcess($columns, $indexes) {
global $functions, $grouping;

View File

@@ -6,7 +6,7 @@ if (!ob_get_level()) {
/** Print HTML header
* @param string used in title, breadcrumb and heading, should be HTML escaped
* @param string
* @param mixed array("key" => "link", "key2" => array("link", "desc")), null for nothing, false for driver only, true for driver and server
* @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
*/

View File

@@ -633,7 +633,7 @@ function query_redirect($query, $location, $message, $redirect = true, $execute
/** Execute and remember query
* @param string or null to return remembered queries, end with ';' to use DELIMITER
* @return Min_Result or array($queries, $time) if $query = null
* @return Min_Result or [$queries, $time] if $query = null
*/
function queries($query) {
global $connection;
@@ -851,7 +851,7 @@ function table_status1($table, $fast = false) {
/** Find out foreign keys for each column
* @param string
* @return array [$col => array()]
* @return array [$col => []]
*/
function column_foreign_keys($table) {
global $adminer;