* Add unit test for getbyurl.

This commit is contained in:
sunguangming
2023-12-27 08:52:46 +08:00
parent 05ff0be351
commit 82a143ada1
3 changed files with 34 additions and 2 deletions
+2 -2
View File
@@ -65,11 +65,11 @@ class instanceModel extends model
/**
* Get by id list.
*
* @param array $idList
* @param array $idList
* @access public
* @return array
*/
public function getByIdList($idList)
public function getByIdList(array $idList)
{
$instances = $this->dao->select('*')->from(TABLE_INSTANCE)
->where('id')->in($idList)