MDL-81380 qbank_columnsortorder: Add type and return value hint

This commit is contained in:
Ilya Tregubov 2024-04-29 10:46:14 +08:00
parent 137692bd4e
commit 641937a47e

View File

@ -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) {