Apply fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
ff970bc41e
commit
a0fc42e78e
@@ -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();
|
||||
|
Reference in New Issue
Block a user