From 9f4863baac161ad767e24bbc791ce8b301cfef64 Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Wed, 18 Oct 2023 11:57:44 +0530 Subject: [PATCH] Added exception attribute for Deprecated Dynamic variable warning in PHP8.2 --- src/Entity/ApiProduct.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Entity/ApiProduct.php b/src/Entity/ApiProduct.php index 0b08f2e7..112dc96f 100644 --- a/src/Entity/ApiProduct.php +++ b/src/Entity/ApiProduct.php @@ -46,6 +46,7 @@ * }, * ) */ +#[\AllowDynamicProperties] class ApiProduct extends EdgeEntityBase implements ApiProductInterface { // The majority of Drupal core & contrib assumes that an entity to be