Skip to content

Commit

Permalink
Update the type to be explicitly nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Mar 2, 2025
1 parent 7975f96 commit 85d83ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 85d83ad

Please sign in to comment.