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
@@ -48,7 +48,7 @@ class backup_structure_processor extends base_processor {
* @param xml_writer $writer XML writer to save data
* @param c\core\progress\base$progress Progress tracker (optional)
*/
public function __construct(xml_writer $writer, \core\progress\base $progress = null) {
public function __construct(xml_writer $writer, ?\core\progress\base $progress = null) {
$this->writer = $writer;
$this->progress = $progress;
$this->vars = array();