Skip to content

Commit

Permalink
Merge pull request #184 from creative-commoners/pulls/5.2/remove-self
Browse files Browse the repository at this point in the history
ENH Use class name instead of self
  • Loading branch information
GuySartorelli authored Jun 17, 2024
2 parents 3e7e8e9 + 5819a3b commit fafd3c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Report extends ViewableData
* @var array
*/
private static $excluded_reports = [
self::class,
Report::class,
ReportWrapper::class,
SideReportWrapper::class,
];
Expand Down Expand Up @@ -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');
}

/**
Expand Down

0 comments on commit fafd3c0

Please sign in to comment.