style:调整代码格式,未修改代码逻辑

This commit is contained in:
weifashi
2023-06-30 16:15:05 +08:00
parent 41c2dabe26
commit 287e3e378d
5 changed files with 34 additions and 17 deletions
+3 -5
View File
@@ -1413,11 +1413,9 @@ class ProjectTask extends AbstractModel
$userids = [];
if ($userid === null) {
$userids = $this->project->relationUserids();
} elseif (!is_array($userid)) {
$userids = [$userid];
} elseif (is_array($userid)) {
$userids = $userid;
}
} else {
$userids = is_array($userid) ? $userid : [$userid];
}
//
$array = [];
if (empty($data['parent_id'])) {