Apply fixes from StyleCI
This commit is contained in:

committed by
Manish Verma

parent
2f985011e9
commit
8ef067dbc5
@@ -404,7 +404,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Ticket edit and save ticket data.
|
* Ticket edit and save ticket data.
|
||||||
*
|
*
|
||||||
* @param type $ticket_id
|
* @param type $ticket_id
|
||||||
* @param type Ticket_Thread $thread
|
* @param type Ticket_Thread $thread
|
||||||
*
|
*
|
||||||
* @return type bool
|
* @return type bool
|
||||||
@@ -500,7 +500,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Function to delete ticket.
|
* Function to delete ticket.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Tickets $ticket
|
* @param type Tickets $ticket
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
|
@@ -387,7 +387,7 @@ class EmailsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Update the specified resource in storage.
|
* Update the specified resource in storage.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Emails $email
|
* @param type Emails $email
|
||||||
* @param type EmailsEditRequest $request
|
* @param type EmailsEditRequest $request
|
||||||
*
|
*
|
||||||
|
@@ -130,7 +130,7 @@ class HelptopicController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the form for editing the specified helptopic.
|
* Show the form for editing the specified helptopic.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Priority $priority
|
* @param type Priority $priority
|
||||||
* @param type Department $department
|
* @param type Department $department
|
||||||
* @param type Help_topic $topic
|
* @param type Help_topic $topic
|
||||||
@@ -162,7 +162,7 @@ class HelptopicController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Update the specified helptopic in storage.
|
* Update the specified helptopic in storage.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Help_topic $topic
|
* @param type Help_topic $topic
|
||||||
* @param type HelptopicUpdate $request
|
* @param type HelptopicUpdate $request
|
||||||
*
|
*
|
||||||
|
@@ -104,11 +104,11 @@ class ProfileController extends Controller
|
|||||||
Input::file('profile_pic')->move($destinationPath, $fileName);
|
Input::file('profile_pic')->move($destinationPath, $fileName);
|
||||||
$user->profile_pic = $fileName;
|
$user->profile_pic = $fileName;
|
||||||
} else {
|
} else {
|
||||||
$user->fill($request->except('profile_pic', 'gender','active','role','is_delete','ban'))->save();
|
$user->fill($request->except('profile_pic', 'gender', 'active', 'role', 'is_delete', 'ban'))->save();
|
||||||
|
|
||||||
return redirect('guest')->with('success', 'Profile Updated sucessfully');
|
return redirect('guest')->with('success', 'Profile Updated sucessfully');
|
||||||
}
|
}
|
||||||
if ($user->fill($request->except('profile_pic','active','role','is_delete','ban'))->save()) {
|
if ($user->fill($request->except('profile_pic', 'active', 'role', 'is_delete', 'ban'))->save()) {
|
||||||
return redirect('guest')->with('success', 'Profile Updated sucessfully');
|
return redirect('guest')->with('success', 'Profile Updated sucessfully');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -513,7 +513,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Update the specified alert in storage.
|
* Update the specified alert in storage.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Alert $alert
|
* @param type Alert $alert
|
||||||
* @param type Request $request
|
* @param type Request $request
|
||||||
*
|
*
|
||||||
|
@@ -614,7 +614,7 @@ class SettingsController2 extends Controller
|
|||||||
/**
|
/**
|
||||||
* Update the specified resource in storage.
|
* Update the specified resource in storage.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Alert $alert
|
* @param type Alert $alert
|
||||||
* @param type Request $request
|
* @param type Request $request
|
||||||
*
|
*
|
||||||
|
@@ -114,7 +114,7 @@ class TeamController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the form for editing the specified resource.
|
* Show the form for editing the specified resource.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type User $user
|
* @param type User $user
|
||||||
* @param type Assign_team_agent $assign_team_agent
|
* @param type Assign_team_agent $assign_team_agent
|
||||||
* @param type Teams $team
|
* @param type Teams $team
|
||||||
@@ -200,7 +200,7 @@ class TeamController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the form for editing the specified resource.
|
* Show the form for editing the specified resource.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type User $user
|
* @param type User $user
|
||||||
* @param type Assign_team_agent $assign_team_agent
|
* @param type Assign_team_agent $assign_team_agent
|
||||||
* @param type Teams $team
|
* @param type Teams $team
|
||||||
|
@@ -115,7 +115,7 @@ class TemplateController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the form for editing the specified resource.
|
* Show the form for editing the specified resource.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Template $template
|
* @param type Template $template
|
||||||
* @param type Languages $language
|
* @param type Languages $language
|
||||||
*
|
*
|
||||||
|
@@ -95,7 +95,7 @@ class CannedController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the form for editing the Canned Response.
|
* Show the form for editing the Canned Response.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Canned $canned
|
* @param type Canned $canned
|
||||||
*
|
*
|
||||||
* @return type View
|
* @return type View
|
||||||
@@ -115,7 +115,7 @@ class CannedController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Update the Canned Response in database.
|
* Update the Canned Response in database.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type CannedUpdateRequest $request
|
* @param type CannedUpdateRequest $request
|
||||||
* @param type Canned $canned
|
* @param type Canned $canned
|
||||||
*
|
*
|
||||||
@@ -142,7 +142,7 @@ class CannedController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Delete the Canned Response from storage.
|
* Delete the Canned Response from storage.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Canned $canned
|
* @param type Canned $canned
|
||||||
*
|
*
|
||||||
* @return type Redirect
|
* @return type Redirect
|
||||||
|
@@ -922,7 +922,9 @@ class FilterController extends Controller
|
|||||||
return $table->whereIn('tickets.source', $sources);
|
return $table->whereIn('tickets.source', $sources);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** DEPRICATED.
|
/**
|
||||||
|
* DEPRICATED.
|
||||||
|
*
|
||||||
* @category function to get array of status to filter tickets
|
* @category function to get array of status to filter tickets
|
||||||
*
|
*
|
||||||
* @param string $status
|
* @param string $status
|
||||||
|
@@ -167,7 +167,7 @@ class OrganizationController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Display the specified organization.
|
* Display the specified organization.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Organization $org
|
* @param type Organization $org
|
||||||
*
|
*
|
||||||
* @return type view
|
* @return type view
|
||||||
@@ -187,7 +187,7 @@ class OrganizationController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the form for editing the specified organization.
|
* Show the form for editing the specified organization.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Organization $org
|
* @param type Organization $org
|
||||||
*
|
*
|
||||||
* @return type view
|
* @return type view
|
||||||
@@ -207,7 +207,7 @@ class OrganizationController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Update the specified organization in storage.
|
* Update the specified organization in storage.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Organization $org
|
* @param type Organization $org
|
||||||
* @param type OrganizationUpdate $request
|
* @param type OrganizationUpdate $request
|
||||||
*
|
*
|
||||||
|
@@ -441,7 +441,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Ticket edit and save ticket data.
|
* Ticket edit and save ticket data.
|
||||||
*
|
*
|
||||||
* @param type $ticket_id
|
* @param type $ticket_id
|
||||||
* @param type Ticket_Thread $thread
|
* @param type Ticket_Thread $thread
|
||||||
*
|
*
|
||||||
* @return type bool
|
* @return type bool
|
||||||
@@ -485,8 +485,7 @@ class TicketController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function ticket_print($id)
|
public function ticket_print($id)
|
||||||
{
|
{
|
||||||
$tickets = Tickets::
|
$tickets = Tickets::leftJoin('ticket_thread', function ($join) {
|
||||||
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');
|
||||||
})
|
})
|
||||||
@@ -1118,7 +1117,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* function to Ticket Close.
|
* function to Ticket Close.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Tickets $ticket
|
* @param type Tickets $ticket
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
@@ -1182,7 +1181,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* function to Ticket resolved.
|
* function to Ticket resolved.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Tickets $ticket
|
* @param type Tickets $ticket
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
@@ -1228,7 +1227,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* function to Open Ticket.
|
* function to Open Ticket.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Tickets $ticket
|
* @param type Tickets $ticket
|
||||||
*
|
*
|
||||||
* @return type
|
* @return type
|
||||||
@@ -1268,7 +1267,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Function to delete ticket.
|
* Function to delete ticket.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Tickets $ticket
|
* @param type Tickets $ticket
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
@@ -1321,7 +1320,7 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Function to ban an email.
|
* Function to ban an email.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Tickets $ticket
|
* @param type Tickets $ticket
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
@@ -2710,9 +2709,9 @@ class TicketController extends Controller
|
|||||||
/**
|
/**
|
||||||
* chumper's function to return data to chumper datatable.
|
* chumper's function to return data to chumper datatable.
|
||||||
*
|
*
|
||||||
* @param Array-object $tickets
|
* @param array-object $tickets
|
||||||
*
|
*
|
||||||
* @return Array-object
|
* @return array-object
|
||||||
*/
|
*/
|
||||||
public static function genreateTableJson($tickets)
|
public static function genreateTableJson($tickets)
|
||||||
{
|
{
|
||||||
|
@@ -690,7 +690,7 @@ class UserController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$users->mobile = ($request->input('mobile') == '') ? null : $request->input('mobile');
|
$users->mobile = ($request->input('mobile') == '') ? null : $request->input('mobile');
|
||||||
$users->fill($request->except('mobile','active','role','is_delete','ban'));
|
$users->fill($request->except('mobile', 'active', 'role', 'is_delete', 'ban'));
|
||||||
$users->save();
|
$users->save();
|
||||||
if ($request->input('org_id') != '') {
|
if ($request->input('org_id') != '') {
|
||||||
$orgid = $request->input('org_id');
|
$orgid = $request->input('org_id');
|
||||||
@@ -765,7 +765,7 @@ class UserController extends Controller
|
|||||||
}
|
}
|
||||||
$user->country_code = $request->country_code;
|
$user->country_code = $request->country_code;
|
||||||
}
|
}
|
||||||
$user->fill($request->except('profile_pic', 'mobile','active','role','is_delete','ban'));
|
$user->fill($request->except('profile_pic', 'mobile', 'active', 'role', 'is_delete', 'ban'));
|
||||||
$user->gender = $request->input('gender');
|
$user->gender = $request->input('gender');
|
||||||
$user->save();
|
$user->save();
|
||||||
if (Input::file('profile_pic')) {
|
if (Input::file('profile_pic')) {
|
||||||
|
@@ -259,7 +259,7 @@ class ArticleController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Delete an Agent by id.
|
* Delete an Agent by id.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Article $article
|
* @param type Article $article
|
||||||
*
|
*
|
||||||
* @return Response
|
* @return Response
|
||||||
|
@@ -158,7 +158,7 @@ class CategoryController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the form for editing the specified category.
|
* Show the form for editing the specified category.
|
||||||
*
|
*
|
||||||
* @param type $slug
|
* @param type $slug
|
||||||
* @param type Category $category
|
* @param type Category $category
|
||||||
*
|
*
|
||||||
* @return type view
|
* @return type view
|
||||||
@@ -175,7 +175,7 @@ class CategoryController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Update the specified Category in storage.
|
* Update the specified Category in storage.
|
||||||
*
|
*
|
||||||
* @param type $slug
|
* @param type $slug
|
||||||
* @param type Category $category
|
* @param type Category $category
|
||||||
* @param type CategoryUpdate $request
|
* @param type CategoryUpdate $request
|
||||||
*
|
*
|
||||||
@@ -204,7 +204,7 @@ class CategoryController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Remove the specified category from storage.
|
* Remove the specified category from storage.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Category $category
|
* @param type Category $category
|
||||||
* @param type Relationship $relation
|
* @param type Relationship $relation
|
||||||
*
|
*
|
||||||
|
@@ -160,7 +160,7 @@ class PageController extends Controller
|
|||||||
/**
|
/**
|
||||||
* To update a page.
|
* To update a page.
|
||||||
*
|
*
|
||||||
* @param type $slug
|
* @param type $slug
|
||||||
* @param type PageUpdate $request
|
* @param type PageUpdate $request
|
||||||
*
|
*
|
||||||
* @return type redirect
|
* @return type redirect
|
||||||
|
@@ -6,19 +6,15 @@ namespace App\Http\Controllers\Agent\kb;
|
|||||||
use App\Http\Controllers\Agent\helpdesk\TicketController;
|
use App\Http\Controllers\Agent\helpdesk\TicketController;
|
||||||
use App\Http\Controllers\Controller;
|
use App\Http\Controllers\Controller;
|
||||||
// Request
|
// Request
|
||||||
use App\Http\Requests\kb\ProfilePassword;
|
|
||||||
use App\Http\Requests\kb\ProfileRequest;
|
|
||||||
use App\Http\Requests\kb\SettingsRequests;
|
use App\Http\Requests\kb\SettingsRequests;
|
||||||
use App\Model\helpdesk\Utility\Date_format;
|
use App\Model\helpdesk\Utility\Date_format;
|
||||||
// Model
|
// Model
|
||||||
use App\Model\helpdesk\Utility\Timezones;
|
use App\Model\helpdesk\Utility\Timezones;
|
||||||
use App\Model\kb\Comment;
|
use App\Model\kb\Comment;
|
||||||
use App\Model\kb\Settings;
|
use App\Model\kb\Settings;
|
||||||
use Auth;
|
|
||||||
// Classes
|
// Classes
|
||||||
use Config;
|
use Config;
|
||||||
use Exception;
|
use Exception;
|
||||||
use Hash;
|
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Image;
|
use Image;
|
||||||
use Input;
|
use Input;
|
||||||
@@ -171,7 +167,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Admin can publish the comment.
|
* Admin can publish the comment.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Comment $comment
|
* @param type Comment $comment
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
@@ -190,7 +186,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* delete the comment.
|
* delete the comment.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type Comment $comment
|
* @param type Comment $comment
|
||||||
*
|
*
|
||||||
* @return type
|
* @return type
|
||||||
|
@@ -244,7 +244,7 @@ class AuthController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Get mail function.
|
* Get mail function.
|
||||||
*
|
*
|
||||||
* @param type $token
|
* @param type $token
|
||||||
* @param type User $user
|
* @param type User $user
|
||||||
*
|
*
|
||||||
* @return type Response
|
* @return type Response
|
||||||
|
@@ -6,9 +6,7 @@ namespace App\Http\Controllers\Agent\helpdesk;
|
|||||||
use App\Http\Controllers\Controller;
|
use App\Http\Controllers\Controller;
|
||||||
// requests
|
// requests
|
||||||
/* Include Sys_user Model */
|
/* Include Sys_user Model */
|
||||||
use App\Http\Requests\helpdesk\ProfilePassword;
|
|
||||||
/* For validation include Sys_userRequest in create */
|
/* For validation include Sys_userRequest in create */
|
||||||
use App\Http\Requests\helpdesk\ProfileRequest;
|
|
||||||
/* For validation include Sys_userUpdate in update */
|
/* For validation include Sys_userUpdate in update */
|
||||||
use App\Http\Requests\helpdesk\Sys_userRequest;
|
use App\Http\Requests\helpdesk\Sys_userRequest;
|
||||||
/* include guest_note model */
|
/* include guest_note model */
|
||||||
@@ -23,9 +21,7 @@ use App\Model\helpdesk\Agent_panel\User_org;
|
|||||||
use App\User;
|
use App\User;
|
||||||
// classes
|
// classes
|
||||||
/* include ticket_thred model */
|
/* include ticket_thred model */
|
||||||
use Auth;
|
|
||||||
/* include tickets model */
|
/* include tickets model */
|
||||||
use Hash;
|
|
||||||
/* TicketRequest to validate the ticket response */
|
/* TicketRequest to validate the ticket response */
|
||||||
/* Validate post check ticket */
|
/* Validate post check ticket */
|
||||||
use Input;
|
use Input;
|
||||||
@@ -246,7 +242,7 @@ class UserController extends Controller
|
|||||||
$users = $user->whereId($id)->first();
|
$users = $user->whereId($id)->first();
|
||||||
/* Update the value by selected field */
|
/* Update the value by selected field */
|
||||||
/* Check whether function success or not */
|
/* Check whether function success or not */
|
||||||
if ($users->fill($request->except('active','role','is_delete','ban'))->save() == true) {
|
if ($users->fill($request->except('active', 'role', 'is_delete', 'ban'))->save() == true) {
|
||||||
/* redirect to Index page with Success Message */
|
/* redirect to Index page with Success Message */
|
||||||
return redirect('user')->with('success', 'User Updated Successfully');
|
return redirect('user')->with('success', 'User Updated Successfully');
|
||||||
} else {
|
} else {
|
||||||
|
@@ -73,7 +73,7 @@ class GuestController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Save profile data.
|
* Save profile data.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type ProfileRequest $request
|
* @param type ProfileRequest $request
|
||||||
*
|
*
|
||||||
* @return type Response
|
* @return type Response
|
||||||
@@ -92,7 +92,7 @@ class GuestController extends Controller
|
|||||||
}
|
}
|
||||||
$user->country_code = $request->country_code;
|
$user->country_code = $request->country_code;
|
||||||
}
|
}
|
||||||
$user->fill($request->except('profile_pic', 'mobile','active','role','is_delete','ban'));
|
$user->fill($request->except('profile_pic', 'mobile', 'active', 'role', 'is_delete', 'ban'));
|
||||||
$user->gender = $request->input('gender');
|
$user->gender = $request->input('gender');
|
||||||
$user->save();
|
$user->save();
|
||||||
if (Input::file('profile_pic')) {
|
if (Input::file('profile_pic')) {
|
||||||
@@ -226,7 +226,7 @@ class GuestController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Post porfile password.
|
* Post porfile password.
|
||||||
*
|
*
|
||||||
* @param type $id
|
* @param type $id
|
||||||
* @param type ProfilePassword $request
|
* @param type ProfilePassword $request
|
||||||
*
|
*
|
||||||
* @return type Response
|
* @return type Response
|
||||||
|
@@ -5,7 +5,6 @@ namespace App\Http\Controllers\Client\kb;
|
|||||||
use App\Http\Controllers\Controller;
|
use App\Http\Controllers\Controller;
|
||||||
use App\Http\Requests\kb\CommentRequest;
|
use App\Http\Requests\kb\CommentRequest;
|
||||||
use App\Http\Requests\kb\ContactRequest;
|
use App\Http\Requests\kb\ContactRequest;
|
||||||
use App\Http\Requests\kb\ProfilePassword;
|
|
||||||
use App\Http\Requests\kb\SearchRequest;
|
use App\Http\Requests\kb\SearchRequest;
|
||||||
use App\Model\kb\Article;
|
use App\Model\kb\Article;
|
||||||
use App\Model\kb\Category;
|
use App\Model\kb\Category;
|
||||||
@@ -18,7 +17,6 @@ use App\Model\kb\Settings;
|
|||||||
use Auth;
|
use Auth;
|
||||||
// use Creativeorange\Gravatar\Gravatar;
|
// use Creativeorange\Gravatar\Gravatar;
|
||||||
use Config;
|
use Config;
|
||||||
use Hash;
|
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Lang;
|
use Lang;
|
||||||
use Mail;
|
use Mail;
|
||||||
|
@@ -229,7 +229,7 @@ function timezone()
|
|||||||
* formats the error message into json error response.
|
* formats the error message into json error response.
|
||||||
*
|
*
|
||||||
* @param string/array $errorMsg errorMsg can be an array of errors or string
|
* @param string/array $errorMsg errorMsg can be an array of errors or string
|
||||||
* @param int $responseCode
|
* @param int $responseCode
|
||||||
*
|
*
|
||||||
* @return json
|
* @return json
|
||||||
*/
|
*/
|
||||||
@@ -243,9 +243,9 @@ function errorResponse($errorMsg, $responseCode = 400)
|
|||||||
/**
|
/**
|
||||||
* formats success message/data into json success response.
|
* formats success message/data into json success response.
|
||||||
*
|
*
|
||||||
* @param string $successMsg
|
* @param string $successMsg
|
||||||
* @param array/string $data data of the response
|
* @param array/string $data data of the response
|
||||||
* @param int $responseCode
|
* @param int $responseCode
|
||||||
*
|
*
|
||||||
* @return json
|
* @return json
|
||||||
*/
|
*/
|
||||||
|
@@ -8,7 +8,6 @@ use Illuminate\Support\Facades\Route;
|
|||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
use Laravel\Dusk\DuskServiceProvider;
|
use Laravel\Dusk\DuskServiceProvider;
|
||||||
use Queue;
|
use Queue;
|
||||||
use View;
|
|
||||||
|
|
||||||
class AppServiceProvider extends ServiceProvider
|
class AppServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user