* testcase: rename the $sceneId parameter to $sceneID.

This commit is contained in:
liugang
2023-08-28 09:18:47 +08:00
parent 2a6ffe3a63
commit 2f8d41d200
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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)
+2 -2
View File
@@ -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.