From 7a269c6842786f9efca6e911f8f05234ab301b4c Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Fri, 20 Oct 2023 11:55:45 +0530 Subject: [PATCH] Added exception attribute for Deprecated Dynamic variable warning in PHP8.2 (#962) --- 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