diff --git a/src/PelEntryShort.php b/src/PelEntryShort.php index 60c8272b..31138cc5 100644 --- a/src/PelEntryShort.php +++ b/src/PelEntryShort.php @@ -360,6 +360,7 @@ public function getText(bool $brief = false): string } if (array_key_exists($this->tag, self::PEL_TAG_TRANSLATIONS)) { if (array_key_exists($this->value[0], self::PEL_TAG_TRANSLATIONS[$this->tag])) { + // @phpstan-ignore offsetAccess.notFound return Pel::tra(self::PEL_TAG_TRANSLATIONS[$this->tag][$this->value[0]]); } return (string) $this->value[0];