mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-22 06:47:19 +00:00
Fix dynamic property creation deprecation warning from CakeEvent class
This commit is contained in:
parent
0b0ec3ef40
commit
e712b2da89
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue