* Adjust params and comment of getParentChildrenTypes().

This commit is contained in:
xushenjie
2023-05-11 08:05:56 +00:00
parent 14f8071a8f
commit 6701df6ac4
+4 -3
View File
@@ -1090,13 +1090,14 @@ class programplanModel extends model
}
/**
* Get parent stage's children types.
* 根据父id获取父阶段的子类型。
* Get parent stage's children types by parentID.
*
* @param int $parentID
* @access public
* @return array
* @return array|bool
*/
public function getParentChildrenTypes($parentID)
public function getParentChildrenTypes(int $parentID): array|bool
{
if(empty($parentID)) return true;