Unverified Commit eb0b0f0b authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #71 from viralsolani/analysis-q5g71B

Apply fixes from StyleCI
parents 1a5072e4 2fb416e8
...@@ -5,7 +5,6 @@ namespace App\Http\Controllers\Backend\Blogs; ...@@ -5,7 +5,6 @@ namespace App\Http\Controllers\Backend\Blogs;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use App\Http\Requests\Backend\Blogs\ManageBlogsRequest; use App\Http\Requests\Backend\Blogs\ManageBlogsRequest;
use App\Repositories\Backend\Blogs\BlogsRepository; use App\Repositories\Backend\Blogs\BlogsRepository;
use Carbon\Carbon;
use Yajra\DataTables\Facades\DataTables; use Yajra\DataTables\Facades\DataTables;
/** /**
......
...@@ -2,11 +2,10 @@ ...@@ -2,11 +2,10 @@
namespace App\Http\Controllers\Backend\Faqs; namespace App\Http\Controllers\Backend\Faqs;
use App\Models\Faqs\Faq;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use App\Repositories\Backend\Faqs\FaqsRepository;
use App\Http\Requests\Backend\Faqs\EditFaqsRequest; use App\Http\Requests\Backend\Faqs\EditFaqsRequest;
use App\Http\Requests\Backend\Faqs\ManageFaqsRequest; use App\Models\Faqs\Faq;
use App\Repositories\Backend\Faqs\FaqsRepository;
class FaqStatusController extends Controller class FaqStatusController extends Controller
{ {
......
...@@ -26,6 +26,7 @@ class FaqsController extends Controller ...@@ -26,6 +26,7 @@ class FaqsController extends Controller
/** /**
* Display a listing of the resource. * Display a listing of the resource.
*
* @param \App\Http\Requests\Backend\Faqs\ManageFaqsRequest $request * @param \App\Http\Requests\Backend\Faqs\ManageFaqsRequest $request
* *
* @return \Illuminate\Http\Response * @return \Illuminate\Http\Response
...@@ -37,6 +38,7 @@ class FaqsController extends Controller ...@@ -37,6 +38,7 @@ class FaqsController extends Controller
/** /**
* Show the form for creating a new resource. * Show the form for creating a new resource.
*
* @param \App\Http\Requests\Backend\Faqs\CreateFaqsRequest $request * @param \App\Http\Requests\Backend\Faqs\CreateFaqsRequest $request
* *
* @return \Illuminate\Http\Response * @return \Illuminate\Http\Response
...@@ -48,6 +50,7 @@ class FaqsController extends Controller ...@@ -48,6 +50,7 @@ class FaqsController extends Controller
/** /**
* Store a newly created resource in storage. * Store a newly created resource in storage.
*
* @param \App\Http\Requests\Backend\Faqs\StoreFaqsRequest $request * @param \App\Http\Requests\Backend\Faqs\StoreFaqsRequest $request
* *
* @return \Illuminate\Http\Response * @return \Illuminate\Http\Response
......
...@@ -28,13 +28,13 @@ class Blog extends BaseModel ...@@ -28,13 +28,13 @@ class Blog extends BaseModel
'meta_description', 'meta_description',
'status', 'status',
'featured_image', 'featured_image',
'created_by' 'created_by',
]; ];
protected $dates = [ protected $dates = [
'publish_datetime', 'publish_datetime',
'created_at', 'created_at',
'updated_at' 'updated_at',
]; ];
/** /**
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
namespace App\Repositories\Backend\Blogs; namespace App\Repositories\Backend\Blogs;
use DB;
use Carbon\Carbon;
use App\Models\Blogs\Blog;
use App\Models\BlogTags\BlogTag;
use App\Http\Utilities\FileUploads;
use App\Exceptions\GeneralException;
use App\Repositories\BaseRepository;
use App\Models\BlogMapTags\BlogMapTag;
use App\Events\Backend\Blogs\BlogUpdated;
use App\Events\Backend\Blogs\BlogCreated; use App\Events\Backend\Blogs\BlogCreated;
use App\Events\Backend\Blogs\BlogDeleted; use App\Events\Backend\Blogs\BlogDeleted;
use App\Events\Backend\Blogs\BlogUpdated;
use App\Exceptions\GeneralException;
use App\Http\Utilities\FileUploads;
use App\Models\BlogCategories\BlogCategory; use App\Models\BlogCategories\BlogCategory;
use App\Models\BlogMapCategories\BlogMapCategory; use App\Models\BlogMapCategories\BlogMapCategory;
use App\Models\BlogMapTags\BlogMapTag;
use App\Models\Blogs\Blog;
use App\Models\BlogTags\BlogTag;
use App\Repositories\BaseRepository;
use Carbon\Carbon;
use DB;
/** /**
* Class BlogsRepository. * Class BlogsRepository.
......
...@@ -10,15 +10,15 @@ return [ ...@@ -10,15 +10,15 @@ return [
'types_table' => 'email_template_types', 'types_table' => 'email_template_types',
], ],
'blog_tags' => [ 'blog_tags' => [
'table' => 'blog_tags' 'table' => 'blog_tags',
], ],
'blog_categories' => [ 'blog_categories' => [
'table' => 'blog_categories' 'table' => 'blog_categories',
], ],
'blogs' => [ 'blogs' => [
'table' => 'blogs' 'table' => 'blogs',
], ],
'faqs' => [ 'faqs' => [
'table' => 'faqs' 'table' => 'faqs',
] ],
]; ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment