diff --git a/README.md b/README.md index fa5a4b168..406a6f197 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,10 @@ It means that composer will look at `master` branch of repository configured und ## Changelog +### 2023-11-13 + +- Silence dynamic property creation warning in Model.php + ### 2023-11-02 - Fixed: unitialized property in Debugger.php diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 860ad5bdf..aef3c1085 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -42,6 +42,7 @@ App::uses('CakeEventManager', 'Event'); * @package Cake.Model * @link https://book.cakephp.org/2.0/en/models.html */ +#[AllowDynamicProperties] class Model extends CakeObject implements CakeEventListener { /**