mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 16:44:17 +02:00
Doc-comments: Use array shapes in @return
This uses https://phpstan.org/writing-php-code/phpdoc-types#array-shapes I'm not going to do this in @param, it would be better to use https://phpstan.org/writing-php-code/phpdoc-types#global-type-aliases
This commit is contained in:
@@ -701,7 +701,7 @@ function friendly_url($val) {
|
||||
/** Get status of a single table and fall back to name on error
|
||||
* @param string
|
||||
* @param bool
|
||||
* @return array[]
|
||||
* @return array[] same as table_status()
|
||||
*/
|
||||
function table_status1($table, $fast = false) {
|
||||
$return = table_status($table, $fast);
|
||||
@@ -724,7 +724,7 @@ function column_foreign_keys($table) {
|
||||
}
|
||||
|
||||
/** Compute fields() from $_POST edit data
|
||||
* @return array[]
|
||||
* @return array[] same as fields()
|
||||
*/
|
||||
function fields_from_edit() {
|
||||
global $driver;
|
||||
|
Reference in New Issue
Block a user