1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-24 17:22:55 +02:00

[ticket/17281] Update psalm config and fix issues

PHPBB3-17281
This commit is contained in:
Marc Alexander
2023-12-30 17:41:12 +01:00
parent c6c299eea4
commit 661a8a6117
42 changed files with 107 additions and 80 deletions

View File

@@ -341,11 +341,11 @@ class installer
/**
* Recover install progress
*
* @return string Index of the next installer module to execute
* @return int Index of the next installer module to execute
*/
protected function recover_progress()
protected function recover_progress(): int
{
$progress_array = $this->install_config->get_progress_data();
return $progress_array['last_task_module_index'];
return (int) $progress_array['last_task_module_index'];
}
}