mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
Doc-comment: Use type aliases for arrays
Type aliases could be defined either globally (https://phpstan.org/writing-php-code/phpdoc-types#global-type-aliases) or just for a class. I prefer having them at the place where they are created.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
class AdminerTableIndexesStructure {
|
||||
|
||||
/** Print table structure in tabular format
|
||||
* @param array[] data about all indexes on a table
|
||||
* @param Index[] data about all indexes on a table
|
||||
* @return bool
|
||||
*/
|
||||
function tableIndexesPrint($indexes) {
|
||||
|
Reference in New Issue
Block a user