summaryrefslogtreecommitdiff
path: root/classes/labels.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/labels.php')
-rw-r--r--classes/labels.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/labels.php b/classes/labels.php
index b9c480f82..d78f92139 100644
--- a/classes/labels.php
+++ b/classes/labels.php
@@ -71,11 +71,11 @@ class Labels
}
/**
- * @param array<int, array<int|string, mixed>>|null $labels
+ * @param array<int, array<int, array<int, int|string>> $labels
*
* @see Article::_get_labels()
*/
- static function update_cache(int $owner_uid, int $id, ?array $labels = null, bool $force = false): void {
+ static function update_cache(int $owner_uid, int $id, array $labels, bool $force = false): void {
$pdo = Db::pdo();
if ($force)