Apply fixes from StyleCI

This commit is contained in:
Bhanu
2020-12-15 12:00:23 +00:00
committed by Manish Verma
parent 32409edb93
commit 7381486688
5 changed files with 11 additions and 10 deletions

View File

@@ -627,7 +627,7 @@ class FilterController extends Controller
*
* @param string $value
*
* @var date string, date string $end
* @var date string, date string
*
* @return array of start and end date
*/
@@ -874,7 +874,7 @@ class FilterController extends Controller
*
* @param array $dates, builder $table, $column (type of filter based on which column is being chosen), $value
*
* @var string (name of column), array $dates
* @var string (name of column), array
*
* @return builder
*/

View File

@@ -626,8 +626,7 @@ class TicketController extends Controller
public function create_user($emailadd, $username, $subject, $body, $phone, $phonecode, $mobile_number, $helptopic, $sla, $priority, $source, $headers, $dept, $assignto, $from_data, $auto_response, $status)
{
// define global variables
$email;
$username;
$unique = $emailadd;
if (!$emailadd) {
$unique = $mobile_number;
@@ -1087,6 +1086,7 @@ class TicketController extends Controller
$thread->body = $body;
if ($thread->save()) {
\Event::fire('ticket.details', ['ticket' => $thread]); //get the ticket details
return true;
}
}
@@ -2037,6 +2037,7 @@ class TicketController extends Controller
$ticket->lock_by = Auth::user()->id;
$ticket->lock_at = date('Y-m-d H:i:s');
$ticket->save(); //ticket is available and lock ticket for new user
return 2;
}
}

View File

@@ -81,7 +81,7 @@ class UserController extends Controller
try {
/* get all values in Sys_user */
$table = \ Datatable::table()
$table = \Datatable::table()
->addColumn(
Lang::get('lang.name'),
Lang::get('lang.email'),