Skip to content

Commit fafd3c0

Browse files
Merge pull request #184 from creative-commoners/pulls/5.2/remove-self
ENH Use class name instead of self
2 parents 3e7e8e9 + 5819a3b commit fafd3c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/Report.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Report extends ViewableData
102102
* @var array
103103
*/
104104
private static $excluded_reports = [
105-
self::class,
105+
Report::class,
106106
ReportWrapper::class,
107107
SideReportWrapper::class,
108108
];
@@ -275,7 +275,7 @@ public function getCountForOverview(): string
275275
*/
276276
public static function get_excluded_reports()
277277
{
278-
return (array) self::config()->get('excluded_reports');
278+
return (array) Report::config()->get('excluded_reports');
279279
}
280280

281281
/**

0 commit comments

Comments
 (0)