MDL-81634 core: Fix all implicitly defined nullables

Note: This does not impact third-party libraries.
This commit is contained in:
Andrew Nicols
2024-08-02 14:11:12 +08:00
parent 8a6e8563fd
commit 024e36be17
391 changed files with 782 additions and 782 deletions
@@ -40,7 +40,7 @@ class processing_failed_exception extends \moodle_exception {
* @param string $component The string component
* @param \stdClass $data The data to pass to get_string
*/
public function __construct($identifier, $component, \stdClass $data = null) {
public function __construct($identifier, $component, ?\stdClass $data = null) {
return parent::__construct($identifier, $component, '', $data);
}
}