mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 07:51:29 +00:00
Address PHPStan warnings in 'classes/article.php'.
Also related changes in some other classes.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user