* Chang return value.

This commit is contained in:
caoyanyi
2023-07-18 13:01:55 +08:00
parent a1a7244fdd
commit aaa2e0b4e6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1016,12 +1016,12 @@ class taskModel extends model
*
* @param object $oldTask
* @param array $changes
* @param int $left
* @param float $left
* @param array $output
* @access public
* @return array|bool
*/
public function afterStart(object $oldTask, array $changes, int $left, array $output): array|bool
public function afterStart(object $oldTask, array $changes, float $left, array $output): array|bool
{
/* Update the data of the parent task. */
if($oldTask->parent > 0) $this->computeBeginAndEnd($oldTask->parent);