From 5819a3bde4b3168a587d627cd3a1a7516aabf810 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 5 Jun 2024 16:34:48 +1200 Subject: [PATCH] ENH Use class name instead of self --- code/Report.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Report.php b/code/Report.php index 2acffbce..1842a48a 100644 --- a/code/Report.php +++ b/code/Report.php @@ -102,7 +102,7 @@ class Report extends ViewableData * @var array */ private static $excluded_reports = [ - self::class, + Report::class, ReportWrapper::class, SideReportWrapper::class, ]; @@ -275,7 +275,7 @@ public function getCountForOverview(): string */ public static function get_excluded_reports() { - return (array) self::config()->get('excluded_reports'); + return (array) Report::config()->get('excluded_reports'); } /**