summaryrefslogtreecommitdiff
path: root/classes/labels.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-13 14:41:22 +0000
committerwn_ <[email protected]>2021-11-13 15:56:31 +0000
commitb37a03fb31cf1c394e36ccf082bb5d3359f3a1fb (patch)
tree0ce804faf861b4fcfc002b0f506a75d6f617f746 /classes/labels.php
parentf2323bda81a8fb4f80fff043b356449ef0233305 (diff)
Fix the type of Labels::update_cache()
Diffstat (limited to 'classes/labels.php')
-rw-r--r--classes/labels.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/labels.php b/classes/labels.php
index 5a17d665e..026e6621f 100644
--- a/classes/labels.php
+++ b/classes/labels.php
@@ -71,7 +71,8 @@ class Labels
}
/**
- * @param array<int, array<int, array<int, int|string>>> $labels
+ * @param array{'no-labels': 1}|array<int, array<int, array{0: int, 1: string, 2: string, 3: string}>> $labels
+ * [label_id, caption, fg_color, bg_color]
*
* @see Article::_get_labels()
*/