* Refactor isClickable method.

This commit is contained in:
tianshujie
2023-08-30 13:57:44 +08:00
parent d5836430d1
commit 4b6487269d
3 changed files with 34 additions and 58 deletions
+5 -4
View File
@@ -2027,14 +2027,15 @@ class executionTest
}
/**
* function isClickable test by execution
* 判断操作按钮是否可以点击。
* Judge an action is clickable or not.
*
* @param string $execution
* @param object $execution
* @param string $action
* @access public
* @return array
* @return string
*/
public function isClickableTest($execution, $action)
public function isClickableTest(object $execution, string $action): string
{
$object = $this->executionModel->isClickable($execution, $action);