diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php index d0ca9805..e1078558 100644 --- a/src/Models/BaseElement.php +++ b/src/Models/BaseElement.php @@ -441,7 +441,7 @@ public function getType() { $default = $this->i18n_singular_name() ?: 'Block'; - return _t(__CLASS__ . '.BlockType', $default); + return _t(static::class . '.BlockType', $default); } /**