mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
ccac845f11
In PHP 8.2 and later, setting a value to an undeclared class property is deprecated and emits a deprecation notice. So we need to add missing class properties that still need to be declared. Removing the existing $id property at portfolio_format_leap2a_writer, because the $id only needed inside the __construct().