Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-07 19:48:16 +00:00
parent 774eed8b0e
commit 5055b443fc
235 changed files with 14833 additions and 14446 deletions

View File

@@ -180,9 +180,10 @@ class TicketWorkflowController extends Controller
/**
* function to check the rules applied to the ticket workflow.
*
* @param type $to_check
* @param type $condition
* @param type $statement
* @param type $to_check
* @param type $condition
* @param type $statement
*
* @return type boolean
*/
public function checkRuleCondition($to_check, $condition, $statement)
@@ -211,8 +212,9 @@ class TicketWorkflowController extends Controller
/**
* function to check if the equal functions are applied.
*
* @param type $statement
* @param type $to_check
* @param type $statement
* @param type $to_check
*
* @return bool
*/
public function checkEqual($statement, $to_check)
@@ -227,8 +229,9 @@ class TicketWorkflowController extends Controller
/**
* function to check if the not-equal functions are applied.
*
* @param type $statement
* @param type $to_check
* @param type $statement
* @param type $to_check
*
* @return bool
*/
public function checkNotEqual($statement, $to_check)
@@ -243,8 +246,9 @@ class TicketWorkflowController extends Controller
/**
* function to check if the contains functions are applied.
*
* @param type $statement
* @param type $to_check
* @param type $statement
* @param type $to_check
*
* @return bool
*/
public function checkContains($statement, $to_check)
@@ -259,8 +263,9 @@ class TicketWorkflowController extends Controller
/**
* function to check if the do not contain functions are applied.
*
* @param type $statement
* @param type $to_check
* @param type $statement
* @param type $to_check
*
* @return bool
*/
public function checkDoNotContain($statement, $to_check)
@@ -275,8 +280,9 @@ class TicketWorkflowController extends Controller
/**
* function to check if the start functions are applied.
*
* @param type $statement
* @param type $to_check
* @param type $statement
* @param type $to_check
*
* @return bool
*/
public function checkStarts($statement, $to_check)
@@ -291,8 +297,9 @@ class TicketWorkflowController extends Controller
/**
* function to check if the ends functions are applied.
*
* @param type $statement
* @param type $to_check
* @param type $statement
* @param type $to_check
*
* @return bool
*/
public function checkEnds($statement, $to_check)
@@ -318,8 +325,9 @@ class TicketWorkflowController extends Controller
/**
* function to apply the action to a ticket.
*
* @param type $workflow_id
* @param type $ticket_settings_details
* @param type $workflow_id
* @param type $ticket_settings_details
*
* @return type array
*/
public function applyActionCondition($workflow_id, $ticket_settings_details)
@@ -351,7 +359,8 @@ class TicketWorkflowController extends Controller
/**
* function to reject ticket.
*
* @param array $ticket_settings_details
* @param array $ticket_settings_details
*
* @return type array
*/
public function rejectTicket($ticket_settings_details)
@@ -364,8 +373,9 @@ class TicketWorkflowController extends Controller
/**
* function to change the department of a ticket.
*
* @param type $workflow_action
* @param type $ticket_settings_details
* @param type $workflow_action
* @param type $ticket_settings_details
*
* @return type array
*/
public function changeDepartment($workflow_action, $ticket_settings_details)
@@ -383,8 +393,9 @@ class TicketWorkflowController extends Controller
/**
* function to change the priority of a ticket.
*
* @param type $workflow_action
* @param type $ticket_settings_details
* @param type $workflow_action
* @param type $ticket_settings_details
*
* @return type array
*/
public function changePriority($workflow_action, $ticket_settings_details)
@@ -402,8 +413,9 @@ class TicketWorkflowController extends Controller
/**
* function to change the SLA of a ticket.
*
* @param type $workflow_action
* @param type $ticket_settings_details
* @param type $workflow_action
* @param type $ticket_settings_details
*
* @return type array
*/
public function changeSla($workflow_action, $ticket_settings_details)
@@ -421,8 +433,9 @@ class TicketWorkflowController extends Controller
/**
* function to assign tean to a ticket.
*
* @param type $workflow_action
* @param type $ticket_settings_details
* @param type $workflow_action
* @param type $ticket_settings_details
*
* @return type array
*/
public function changeTeam($workflow_action, $ticket_settings_details)
@@ -440,8 +453,9 @@ class TicketWorkflowController extends Controller
/**
* function to assing a ticket to an agent.
*
* @param type $workflow_action
* @param type $ticket_settings_details
* @param type $workflow_action
* @param type $ticket_settings_details
*
* @return type array
*/
public function changeAgent($workflow_action, $ticket_settings_details)
@@ -459,8 +473,9 @@ class TicketWorkflowController extends Controller
/**
* function to change the helptopic of a ticket.
*
* @param type $workflow_action
* @param type $ticket_settings_details
* @param type $workflow_action
* @param type $ticket_settings_details
*
* @return type array
*/
public function changeHelptopic($workflow_action, $ticket_settings_details)
@@ -478,8 +493,9 @@ class TicketWorkflowController extends Controller
/**
* function to change the status of a ticket.
*
* @param type $workflow_action
* @param type $ticket_settings_details
* @param type $workflow_action
* @param type $ticket_settings_details
*
* @return type array
*/
public function changeStatus($workflow_action, $ticket_settings_details)