Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2017-04-30 16:37:12 +00:00
committed by StyleCI Bot
parent ff970bc41e
commit a0fc42e78e
8 changed files with 4 additions and 10 deletions

View File

@@ -1803,11 +1803,11 @@ class TicketController extends Controller
$name = Input::get('name');
$email = Input::get('email');
$validator = \Validator::make(
['email' => $email,'name' => $name, ],
['email' => 'required|email',]
['email' => $email, 'name' => $name],
['email' => 'required|email']
);
if ($validator->fails()) {
return "Invalid email address.";
return 'Invalid email address.';
}
$ticket_id = Input::get('ticket_id');
$user_search = User::where('email', '=', $email)->first();