Skip to content

Commit

Permalink
Dashboard: Suppress covariance error of count() method
Browse files Browse the repository at this point in the history
  • Loading branch information
raviks789 authored and Thomas-Gelf committed Sep 21, 2023
1 parent 32e674a commit 228cbc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/Director/Dashboard/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ protected function createTabForDashboard(Dashboard $dashboard)
]);
}

#[\ReturnTypeWillChange]
public function count()
{
return count($this->dashlets());
Expand Down

0 comments on commit 228cbc8

Please sign in to comment.