Apply fixes from StyleCI
This commit is contained in:

committed by
Manish Verma

parent
2f985011e9
commit
8ef067dbc5
@@ -441,7 +441,7 @@ class TicketController extends Controller
|
||||
/**
|
||||
* Ticket edit and save ticket data.
|
||||
*
|
||||
* @param type $ticket_id
|
||||
* @param type $ticket_id
|
||||
* @param type Ticket_Thread $thread
|
||||
*
|
||||
* @return type bool
|
||||
@@ -485,8 +485,7 @@ class TicketController extends Controller
|
||||
*/
|
||||
public function ticket_print($id)
|
||||
{
|
||||
$tickets = Tickets::
|
||||
leftJoin('ticket_thread', function ($join) {
|
||||
$tickets = Tickets::leftJoin('ticket_thread', function ($join) {
|
||||
$join->on('tickets.id', '=', 'ticket_thread.ticket_id')
|
||||
->whereNotNull('ticket_thread.title');
|
||||
})
|
||||
@@ -1118,7 +1117,7 @@ class TicketController extends Controller
|
||||
/**
|
||||
* function to Ticket Close.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Tickets $ticket
|
||||
*
|
||||
* @return type string
|
||||
@@ -1182,7 +1181,7 @@ class TicketController extends Controller
|
||||
/**
|
||||
* function to Ticket resolved.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Tickets $ticket
|
||||
*
|
||||
* @return type string
|
||||
@@ -1228,7 +1227,7 @@ class TicketController extends Controller
|
||||
/**
|
||||
* function to Open Ticket.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Tickets $ticket
|
||||
*
|
||||
* @return type
|
||||
@@ -1268,7 +1267,7 @@ class TicketController extends Controller
|
||||
/**
|
||||
* Function to delete ticket.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Tickets $ticket
|
||||
*
|
||||
* @return type string
|
||||
@@ -1321,7 +1320,7 @@ class TicketController extends Controller
|
||||
/**
|
||||
* Function to ban an email.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Tickets $ticket
|
||||
*
|
||||
* @return type string
|
||||
@@ -2710,9 +2709,9 @@ class TicketController extends Controller
|
||||
/**
|
||||
* chumper's function to return data to chumper datatable.
|
||||
*
|
||||
* @param Array-object $tickets
|
||||
* @param array-object $tickets
|
||||
*
|
||||
* @return Array-object
|
||||
* @return array-object
|
||||
*/
|
||||
public static function genreateTableJson($tickets)
|
||||
{
|
||||
|
Reference in New Issue
Block a user