From 85d83ad1166cedbb6538aabfe81bf92c4ec75dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Sun, 2 Mar 2025 12:43:21 +0100 Subject: [PATCH] Update the type to be explicitly nullable --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 97c3927..b1a0922 100644 --- a/lib.php +++ b/lib.php @@ -103,7 +103,7 @@ public function supports_repositories() { * @param object $fpoptions file picker options * @return void */ - public function use_editor($elementid, array $options=null, $fpoptions = null) { + public function use_editor($elementid, ?array $options = null, $fpoptions = null) { global $PAGE; $initparams = [