Skip to content
This repository has been archived by the owner on Dec 12, 2020. 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 d42d15a commit 1fc6b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public static function addPinterestFrame($event)
if (Yii::$app->user->isGuest) {
return;
}
$event->sender->view->registerAssetBundle(Assets::className());
$event->sender->addWidget(PinterestFrame::className(), [], [
$event->sender->view->registerAssetBundle(Assets::class);
$event->sender->addWidget(PinterestFrame::class, [], [
'sortOrder' => Setting::Get('timeout', 'pinterest')
]);
}
Expand Down

0 comments on commit 1fc6b26

Please sign in to comment.