diff --git a/src/Plugin/Field/FieldFormatter/TextSummaryOnlyFormatter.php b/src/Plugin/Field/FieldFormatter/TextSummaryOnlyFormatter.php
index 28bfe6c..be3625a 100644
--- a/src/Plugin/Field/FieldFormatter/TextSummaryOnlyFormatter.php
+++ b/src/Plugin/Field/FieldFormatter/TextSummaryOnlyFormatter.php
@@ -65,7 +65,7 @@ class TextSummaryOnlyFormatter extends FormatterBase implements TrustedCallbackI
    */
   public function settingsSummary() {
     $summary = [];
-    $trim_summary = $this->getSetting('trim_summary') == TRUE ? 'Yes' : 'No'; 
+    $trim_summary = $this->getSetting('trim_summary') == TRUE ? 'Yes' : 'No';
     $summary[] = $this->t('Trim Summay: @trim_summary', ['@trim_summary' => $trim_summary]);
     if ($this->getSetting('trim_summary') == TRUE) {
       $summary[] = $this->t('Trimmed limit: @trim_length characters', ['@trim_length' => $this->getSetting('trim_length')]);
@@ -84,7 +84,10 @@ class TextSummaryOnlyFormatter extends FormatterBase implements TrustedCallbackI
       // because text_pre_render_summary() must run last.
       $element += \Drupal::service('element_info')->getInfo($element['#type']);
       // Add the #pre_render callback that renders the text into a summary.
-      $element['#pre_render'][] = [TextSummaryOnlyFormatter::class, 'preRenderSummary'];
+      $element['#pre_render'][] = [
+        TextSummaryOnlyFormatter::class,
+        'preRenderSummary',
+      ];
       // Pass on the trim length to the #pre_render callback via a property.
       $element['#summary_trim_length'] = $this->getSetting('trim_length');
     };
@@ -112,7 +115,9 @@ class TextSummaryOnlyFormatter extends FormatterBase implements TrustedCallbackI
   }
 
   /**
-   * Pre-render callback: Renders a processed text element's #markup as a summary.
+   * Pre-render callback.
+   *
+   * Renders a processed text element's #markup as a summary.
    *
    * @param array $element
    *   A structured array with the following key-value pairs:
@@ -140,4 +145,5 @@ class TextSummaryOnlyFormatter extends FormatterBase implements TrustedCallbackI
   public static function trustedCallbacks() {
     return ['preRenderSummary'];
   }
+
 }
