MDL-81380 qbank_columnsortorder: Add type and return value hint

This commit is contained in:
Ilya Tregubov
2024-04-29 10:49:45 +08:00
parent 368f547708
commit 24652fd9ab
+1 -1
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 < 2023100901) {