* Optimize code.
This commit is contained in:
@@ -139,10 +139,10 @@ class testreportZen extends testreport
|
||||
* @param int $productID
|
||||
* @param object $task
|
||||
* @param string $method
|
||||
* @access protected
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
protected function assignTesttaskReportData(int $objectID, string $begin = '', string $end = '', int $productID = 0, ?object $task = null, string $method = 'create'): array
|
||||
public function assignTesttaskReportData(int $objectID, string $begin = '', string $end = '', int $productID = 0, ?object $task = null, string $method = 'create'): array
|
||||
{
|
||||
$begin = !empty($begin) ? date("Y-m-d", strtotime($begin)) : $task->begin;
|
||||
$end = !empty($end) ? date("Y-m-d", strtotime($end)) : $task->end;
|
||||
@@ -185,10 +185,10 @@ class testreportZen extends testreport
|
||||
* @param string $begin
|
||||
* @param string $end
|
||||
* @param int $executionID
|
||||
* @access protected
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
protected function assignProjectReportDataForCreate(int $objectID, string $objectType, string $extra, string $begin = '', string $end = '', int $executionID = 0): array
|
||||
public function assignProjectReportDataForCreate(int $objectID, string $objectType, string $extra, string $begin = '', string $end = '', int $executionID = 0): array
|
||||
{
|
||||
$owners = array();
|
||||
$buildIdList = array();
|
||||
|
||||
Reference in New Issue
Block a user