Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/classes/IndexColumn.php')
-rw-r--r--libraries/classes/IndexColumn.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/classes/IndexColumn.php b/libraries/classes/IndexColumn.php
index 4921002f32..adfca050c8 100644
--- a/libraries/classes/IndexColumn.php
+++ b/libraries/classes/IndexColumn.php
@@ -191,9 +191,16 @@ class IndexColumn
/**
* Gets the properties in an array for comparison purposes
*
- * @return array an array containing the properties of the index column
+ * @return array<string, int|string|null>
+ * @psalm-return array{
+ * Column_name: string,
+ * Seq_in_index: int,
+ * Collation: string|null,
+ * Sub_part: int|null,
+ * Null: string
+ * }
*/
- public function getCompareData()
+ public function getCompareData(): array
{
return [
'Column_name' => $this->name,