Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2017-05-03 13:50:38 +00:00
committed by StyleCI Bot
parent aae59a77dc
commit fd66b13d7f

View File

@@ -2068,7 +2068,7 @@ class TicketController extends Controller
public function rating($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref) public function rating($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref)
{ {
foreach ($request->all() as $key => $value) { foreach ($request->all() as $key => $value) {
if ($key == "_token") { if ($key == '_token') {
continue; continue;
} }
if (strpos($key, '_') !== false) { if (strpos($key, '_') !== false) {
@@ -2106,7 +2106,7 @@ class TicketController extends Controller
public function ratingReply($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref) public function ratingReply($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref)
{ {
foreach ($request->all() as $key => $value) { foreach ($request->all() as $key => $value) {
if ($key == "_token") { if ($key == '_token') {
continue; continue;
} }
$key1 = explode(',', $key); $key1 = explode(',', $key);