Skip to content

Commit

Permalink
Remove deprecated warnings on callables (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
voegii committed Apr 11, 2024
1 parent 6ae375c commit 533c698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/mumie_server.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function upsert() {
*/
public static function get_all_servers() {
global $DB;
return array_map('self::from_object', $DB->get_records(self::MUMIE_SERVER_TABLE_NAME));
return array_map(self::class . '::from_object', $DB->get_records(self::MUMIE_SERVER_TABLE_NAME));
}

/**
Expand Down

0 comments on commit 533c698

Please sign in to comment.