diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php index 1b259ccb..8a1ad133 100644 --- a/src/Models/BaseElement.php +++ b/src/Models/BaseElement.php @@ -1162,7 +1162,7 @@ public function getDescription() public function getTypeNice() { $description = Deprecation::withSuppressedNotice(fn () => $this->getDescription()); - $desc = ($description) ? ' — ' . $description . '' : ''; + $desc = $description ? " — {$description}" : ''; return DBField::create_field( 'HTMLVarchar',