`Dashboard`: Suppress covariance error of `count()` method

This commit is contained in:
raviks789 2023-09-01 10:39:56 +02:00 committed by Thomas Gelf
parent 32e674aca2
commit 228cbc8376
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ abstract class Dashboard extends HtmlDocument
]);
}
#[\ReturnTypeWillChange]
public function count()
{
return count($this->dashlets());