Merge pull request #466 from ladybirdweb/analysis-8Pr90P

Apply fixes from StyleCI
This commit is contained in:
Manish Verma
2017-05-03 19:21:01 +05:30
committed by GitHub

View File

@@ -2068,7 +2068,7 @@ class TicketController extends Controller
public function rating($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref)
{
foreach ($request->all() as $key => $value) {
if ($key == "_token") {
if ($key == '_token') {
continue;
}
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)
{
foreach ($request->all() as $key => $value) {
if ($key == "_token") {
if ($key == '_token') {
continue;
}
$key1 = explode(',', $key);