Merge pull request #184 from creative-commoners/pulls/5.2/remove-self

ENH Use class name instead of self
This commit is contained in:
Guy Sartorelli 2024-06-17 12:44:42 +12:00 committed by GitHub
commit fafd3c0e8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 @@ class Report extends ViewableData
*/
public static function get_excluded_reports()
{
return (array) self::config()->get('excluded_reports');
return (array) Report::config()->get('excluded_reports');
}
/**