Skip to content

Commit 4d13d1c

Browse files
committed
fix: methods types match abstract method definition types
1 parent 1bfc797 commit 4d13d1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/web/services/Admin/UsageGraphs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function getActiveAdminSection(): string {
2121
return 'system_reports';
2222
}
2323

24-
private function getAndSetInterfaceDataSeries($stat, $instanceName) {
24+
protected function getAndSetInterfaceDataSeries($stat, $instanceName): void {
2525
global $interface;
2626
global $enabledModules;
2727
global $library;
@@ -322,7 +322,7 @@ private function getAndSetInterfaceDataSeries($stat, $instanceName) {
322322
$interface->assign('translateColumnLabels', false);
323323
}
324324

325-
private function assignGraphSpecificTitle($stat) {
325+
protected function assignGraphSpecificTitle(string $stat): void {
326326
global $interface;
327327
$title = $interface->getVariable('graphTitle');
328328
switch ($stat) {

0 commit comments

Comments
 (0)