diff --git a/widgets/Breadcrumbs.php b/widgets/Breadcrumbs.php index 1d621fa..7c0e57f 100644 --- a/widgets/Breadcrumbs.php +++ b/widgets/Breadcrumbs.php @@ -24,7 +24,7 @@ public function behaviors() { return [ [ - 'class' => WidgetBehavior::className(), + 'class' => WidgetBehavior::class, 'widgetType' => WidgetBehavior::LIVE_WIDGET_TYPE_COMMANDS, ], ];