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 committed Oct 7, 2018
1 parent 7b907c5 commit aa219b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Events.php
Expand Up @@ -27,8 +27,8 @@ public static function addPatreonFrame($event)
if (Yii::$app->user->isGuest) {
return;
}
$event->sender->view->registerAssetBundle(Assets::className());
$event->sender->addWidget(PatreonFrame::className(), [], [
$event->sender->view->registerAssetBundle(Assets::class);
$event->sender->addWidget(PatreonFrame::class, [], [
'sortOrder' => Setting::Get('timeout', 'patreon')
]);
}
Expand Down

0 comments on commit aa219b1

Please sign in to comment.