Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Chg: ::className() is deprecated use ::class
Browse files Browse the repository at this point in the history
  • Loading branch information
Felli authored Oct 7, 2018
1 parent aa219b1 commit f125d0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@
'namespace' => 'humhub\modules\patreon',
'events' => [
[
'class' => \humhub\modules\dashboard\widgets\Sidebar::className(),
'class' => \humhub\modules\dashboard\widgets\Sidebar::class,
'event' => \humhub\modules\dashboard\widgets\Sidebar::EVENT_INIT,
'callback' => [
'humhub\modules\patreon\Events',
'addPatreonFrame'
]
],
[
'class' => \humhub\modules\space\widgets\Sidebar::className(),
'class' => \humhub\modules\space\widgets\Sidebar::class,
'event' => \humhub\modules\space\widgets\Sidebar::EVENT_INIT,
'callback' => [
'humhub\modules\patreon\Events',
'addPatreonFrame'
]
],
[
'class' => \humhub\modules\admin\widgets\AdminMenu::className(),
'class' => \humhub\modules\admin\widgets\AdminMenu::class,
'event' => \humhub\modules\admin\widgets\AdminMenu::EVENT_INIT,
'callback' => [
'humhub\modules\patreon\Events',
Expand Down

0 comments on commit f125d0a

Please sign in to comment.