MDL-81380 qbank_columnsortorder: Add type and return value hint
This commit is contained in:
@@ -30,7 +30,7 @@ use core_question\local\bank\column_base;
|
||||
* @param int $oldversion the version of this plugin we are upgrading from.
|
||||
* @return bool success/failure.
|
||||
*/
|
||||
function xmldb_qbank_columnsortorder_upgrade($oldversion) {
|
||||
function xmldb_qbank_columnsortorder_upgrade(int $oldversion): bool {
|
||||
global $DB;
|
||||
|
||||
if ($oldversion < 2024042201) {
|
||||
|
||||
Reference in New Issue
Block a user