* testcase: rename the $sceneId parameter to $sceneID.
This commit is contained in:
@@ -2227,11 +2227,11 @@ class testcase extends control
|
||||
/**
|
||||
* Batch change scene.
|
||||
*
|
||||
* @param int $sceneId
|
||||
* @param int $sceneID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function batchChangeScene(int $sceneId)
|
||||
public function batchChangeScene(int $sceneID)
|
||||
{
|
||||
$caseIdList = zget($_POST, 'caseIdList', array());
|
||||
if($caseIdList)
|
||||
|
||||
@@ -2616,11 +2616,11 @@ class testcaseModel extends model
|
||||
* Batch change scene.
|
||||
*
|
||||
* @param array $caseIdList
|
||||
* @param int $sceneId
|
||||
* @param int $sceneID
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public function batchChangeScene(array $caseIdList, int $sceneId): bool
|
||||
public function batchChangeScene(array $caseIdList, int $sceneID): bool
|
||||
{
|
||||
if($sceneID < 0 || $sceneID > 16777215) return false; // The scene column's data type is mediumint unsigned and its range is 0-16777215.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user