From f92f2fbf83c7b03ef28a295fe1d90814d0b1ed1b Mon Sep 17 00:00:00 2001 From: Prokyonn Date: Thu, 31 Oct 2024 11:59:22 +0100 Subject: [PATCH] Fix compatibility to symfony 7 in smart content data item (#708) --- Content/ArticleDataItem.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content/ArticleDataItem.php b/Content/ArticleDataItem.php index 7ecf58c0..2b730ce2 100644 --- a/Content/ArticleDataItem.php +++ b/Content/ArticleDataItem.php @@ -21,6 +21,7 @@ * * @ExclusionPolicy("all") */ +#[ExclusionPolicy('all')] class ArticleDataItem implements ItemInterface { /** @@ -28,6 +29,7 @@ class ArticleDataItem implements ItemInterface * * @Expose */ + #[Expose] private $id; /** @@ -35,6 +37,7 @@ class ArticleDataItem implements ItemInterface * * @Expose */ + #[Expose] private $title; /**