diff --git a/web/includes/Object.php b/web/includes/Object.php index 0541345bc0..9e9290c9b1 100644 --- a/web/includes/Object.php +++ b/web/includes/Object.php @@ -4,6 +4,12 @@ $object_cache = array(); +/** + * Use the fully-qualified AllowDynamicProperties, otherwise the #[AllowDynamicProperties] attribute on "MyClass" WILL NOT WORK. + */ +use \AllowDynamicProperties; + +#[AllowDynamicProperties] class ZM_Object { protected $_last_error;