* Fix return type.

This commit is contained in:
zhouxin
2023-04-26 12:25:39 +00:00
parent 7e8e8a027f
commit 9b074c4356
+1 -1
View File
@@ -20,7 +20,7 @@ class taskTao extends taskModel
* @access private
* @return int
*/
protected function computeTaskProgress(object $task): float
protected function computeTaskProgress(object $task): int
{
if($task->consumed == 0 and $task->left == 0)
{