From 4f94f2f7da24e57a02884cae915d8b73789d970a Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 13 Aug 2024 14:10:43 +1200 Subject: [PATCH] MNT Ignore phpstan error we can't fix --- 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(