Skip to content

Commit

Permalink
fix: methods types match abstract method definition types
Browse files Browse the repository at this point in the history
  • Loading branch information
Chloe070196 committed Aug 30, 2024
1 parent 1bfc797 commit 4d13d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/web/services/Admin/UsageGraphs.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getActiveAdminSection(): string {
return 'system_reports';
}

private function getAndSetInterfaceDataSeries($stat, $instanceName) {
protected function getAndSetInterfaceDataSeries($stat, $instanceName): void {
global $interface;
global $enabledModules;
global $library;
Expand Down Expand Up @@ -322,7 +322,7 @@ private function getAndSetInterfaceDataSeries($stat, $instanceName) {
$interface->assign('translateColumnLabels', false);
}

private function assignGraphSpecificTitle($stat) {
protected function assignGraphSpecificTitle(string $stat): void {
global $interface;
$title = $interface->getVariable('graphTitle');
switch ($stat) {
Expand Down

0 comments on commit 4d13d1c

Please sign in to comment.