Fix dynamic property creation deprecation warning from CakeEvent class

This commit is contained in:
Diego Surita 2023-12-19 18:22:36 +00:00 committed by Kamil Wylegala
parent 0b0ec3ef40
commit e712b2da89

View file

@ -47,6 +47,12 @@ class CakeEvent {
*/
public mixed $omitSubject;
/**
* PHP 8.2 deprecation notice: added to avoid `Creation of dynamic property ... is deprecated.`
* @var mixed
*/
public mixed $collectReturn;
/**
* Name of the event
*