mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-81380 qbank_columnsortorder: Add type and return value hint
This commit is contained in:
parent
137692bd4e
commit
641937a47e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user