From 332b98e39e90f8ec8143465b3144eaafa3a1a80f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:02:03 +1200 Subject: [PATCH] MNT Ignore phpstan error we can't fix (#413) --- src/GridFieldNestedFormItemRequest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GridFieldNestedFormItemRequest.php b/src/GridFieldNestedFormItemRequest.php index 007587f..471f840 100644 --- a/src/GridFieldNestedFormItemRequest.php +++ b/src/GridFieldNestedFormItemRequest.php @@ -103,6 +103,7 @@ public function ItemEditForm() $this->record->invokeWithExtensions('updateNestedConfig', $config); + /** @phpstan-ignore translation.key (we need the key to be dynamic here) */ $title = _t(get_class($this->record).'.'.strtoupper($relationName), ' '); $fields = new FieldList(