Commit e3ad6e3
committed
Fix creating an undocumented dynamic property
https://wiki.php.net/rfc/deprecate_dynamic_properties
causes this to emit an E_DEPRECATION notice.
A private property was chosen because:
- This was undocumented and I assume unintentional.
- This will not conflict with any properties of the same name and
different types (or readonly properties) in subclasses.1 parent b5f37db commit e3ad6e3
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments