Skip to content

Commit 96cce8a

Browse files
authored
Remove PHPStan ignore comment for offset access
1 parent 13c047e commit 96cce8a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/PelEntryShort.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ public function getText(bool $brief = false): string
360360
}
361361
if (array_key_exists($this->tag, self::PEL_TAG_TRANSLATIONS)) {
362362
if (array_key_exists($this->value[0], self::PEL_TAG_TRANSLATIONS[$this->tag])) {
363-
// @phpstan-ignore offsetAccess.notFound
364363
return Pel::tra(self::PEL_TAG_TRANSLATIONS[$this->tag][$this->value[0]]);
365364
}
366365
return (string) $this->value[0];

0 commit comments

Comments
 (0)