ENH Use class name instead of self

This commit is contained in:
Steve Boyd 2024-06-05 16:34:48 +12:00
parent 3e7e8e91c1
commit 5819a3bde4

View File

@ -102,7 +102,7 @@ class Report extends ViewableData
* @var array * @var array
*/ */
private static $excluded_reports = [ private static $excluded_reports = [
self::class, Report::class,
ReportWrapper::class, ReportWrapper::class,
SideReportWrapper::class, SideReportWrapper::class,
]; ];
@ -275,7 +275,7 @@ class Report extends ViewableData
*/ */
public static function get_excluded_reports() public static function get_excluded_reports()
{ {
return (array) self::config()->get('excluded_reports'); return (array) Report::config()->get('excluded_reports');
} }
/** /**