Apply fixes from StyleCI
This commit is contained in:

committed by
Manish Verma

parent
2f985011e9
commit
8ef067dbc5
@@ -95,7 +95,7 @@ class CannedController extends Controller
|
||||
/**
|
||||
* Show the form for editing the Canned Response.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Canned $canned
|
||||
*
|
||||
* @return type View
|
||||
@@ -115,7 +115,7 @@ class CannedController extends Controller
|
||||
/**
|
||||
* Update the Canned Response in database.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type CannedUpdateRequest $request
|
||||
* @param type Canned $canned
|
||||
*
|
||||
@@ -142,7 +142,7 @@ class CannedController extends Controller
|
||||
/**
|
||||
* Delete the Canned Response from storage.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Canned $canned
|
||||
*
|
||||
* @return type Redirect
|
||||
|
@@ -922,7 +922,9 @@ class FilterController extends Controller
|
||||
return $table->whereIn('tickets.source', $sources);
|
||||
}
|
||||
|
||||
/** DEPRICATED.
|
||||
/**
|
||||
* DEPRICATED.
|
||||
*
|
||||
* @category function to get array of status to filter tickets
|
||||
*
|
||||
* @param string $status
|
||||
|
@@ -167,7 +167,7 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* Display the specified organization.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Organization $org
|
||||
*
|
||||
* @return type view
|
||||
@@ -187,7 +187,7 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* Show the form for editing the specified organization.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Organization $org
|
||||
*
|
||||
* @return type view
|
||||
@@ -207,7 +207,7 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* Update the specified organization in storage.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Organization $org
|
||||
* @param type OrganizationUpdate $request
|
||||
*
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -690,7 +690,7 @@ class UserController extends Controller
|
||||
}
|
||||
}
|
||||
$users->mobile = ($request->input('mobile') == '') ? null : $request->input('mobile');
|
||||
$users->fill($request->except('mobile','active','role','is_delete','ban'));
|
||||
$users->fill($request->except('mobile', 'active', 'role', 'is_delete', 'ban'));
|
||||
$users->save();
|
||||
if ($request->input('org_id') != '') {
|
||||
$orgid = $request->input('org_id');
|
||||
@@ -765,7 +765,7 @@ class UserController extends Controller
|
||||
}
|
||||
$user->country_code = $request->country_code;
|
||||
}
|
||||
$user->fill($request->except('profile_pic', 'mobile','active','role','is_delete','ban'));
|
||||
$user->fill($request->except('profile_pic', 'mobile', 'active', 'role', 'is_delete', 'ban'));
|
||||
$user->gender = $request->input('gender');
|
||||
$user->save();
|
||||
if (Input::file('profile_pic')) {
|
||||
|
Reference in New Issue
Block a user