diff --git a/paragraph_view_mode.module b/paragraph_view_mode.module
index f077687..fcb13fc 100644
--- a/paragraph_view_mode.module
+++ b/paragraph_view_mode.module
@@ -62,9 +62,8 @@ function paragraph_view_mode_form_paragraphs_type_edit_form_alter(&$form, FormSt
   $storage_manager = \Drupal::service('paragraph_view_mode.storage_manager');
 
   $config_name = StorageManagerInterface::CONFIG_NAME;
-
   $form[$config_name] = [
-    '#title' => t(StorageManagerInterface::FIELD_LABEL),
+    '#title' => t('@label', ['@label' => StorageManagerInterface::FIELD_LABEL]),
     '#type' => 'details',
     '#tree' => TRUE,
     '#open' => TRUE,
diff --git a/src/Plugin/Field/FieldWidget/ParagraphViewModeWidget.php b/src/Plugin/Field/FieldWidget/ParagraphViewModeWidget.php
index 70169f6..de3cda2 100644
--- a/src/Plugin/Field/FieldWidget/ParagraphViewModeWidget.php
+++ b/src/Plugin/Field/FieldWidget/ParagraphViewModeWidget.php
@@ -141,7 +141,7 @@ class ParagraphViewModeWidget extends StringTextfieldWidget {
     $element['value'] = [
       '#title' => $items->getFieldDefinition()->getLabel(),
       '#type' => 'select',
-      '#default_value' => isset($items[$delta]->value) ? $items[$delta]->value : $this->getSetting('default_view_mode'),
+      '#default_value' => $items[$delta]->value ?? $this->getSetting('default_view_mode'),
       '#options' => $this->getEnabledViewModes() ?: $this->getDefaultOption(),
       '#required' => TRUE,
       '#weight' => 1,
diff --git a/src/StorageManager.php b/src/StorageManager.php
index cb6ba03..04a8bad 100644
--- a/src/StorageManager.php
+++ b/src/StorageManager.php
@@ -194,7 +194,7 @@ class StorageManager implements StorageManagerInterface {
     $field = FieldConfig::create([
       'field_storage' => $this->getFieldStorage(),
       'bundle' => $bundle,
-      'label' => $this->t(StorageManagerInterface::FIELD_LABEL),
+      'label' => $this->t('@label', ['@label' => StorageManagerInterface::FIELD_LABEL]),
     ]);
 
     $field->save();
diff --git a/src/StorageManagerInterface.php b/src/StorageManagerInterface.php
index d7f4df7..6d7ad9d 100644
--- a/src/StorageManagerInterface.php
+++ b/src/StorageManagerInterface.php
@@ -25,12 +25,12 @@ interface StorageManagerInterface {
   /**
    * View mode field name.
    */
-  const FIELD_NAME = SELF::CONFIG_NAME;
+  const FIELD_NAME = self::CONFIG_NAME;
 
   /**
    * View mode field type.
    */
-  const FIELD_TYPE = SELF::FIELD_NAME;
+  const FIELD_TYPE = self::FIELD_NAME;
 
   /**
    * View mode field label.
