Merge pull request #5754 from ladybirdweb/analysis-Rv96KO

Apply fixes from StyleCI
This commit is contained in:
Bhanu Pratap Singh Slathia
2021-12-17 12:20:49 +05:30
committed by GitHub

View File

@@ -486,9 +486,9 @@ class TicketController extends Controller
public function ticket_print($id) 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') $join->on('tickets.id', '=', 'ticket_thread.ticket_id')
->whereNotNull('ticket_thread.title'); ->whereNotNull('ticket_thread.title');
}) })
->leftJoin('department', 'tickets.dept_id', '=', 'department.id') ->leftJoin('department', 'tickets.dept_id', '=', 'department.id')
->leftJoin('help_topic', 'tickets.help_topic_id', '=', 'help_topic.id') ->leftJoin('help_topic', 'tickets.help_topic_id', '=', 'help_topic.id')
->where('tickets.id', '=', $id) ->where('tickets.id', '=', $id)