Commit b52ea3d5 authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent 70f72da8
......@@ -2,15 +2,15 @@
namespace App\Http\Controllers\Backend\Pages;
use App\Models\Page\Page;
use App\Http\Controllers\Controller;
use App\Repositories\Backend\Pages\PagesRepository;
use App\Http\Requests\Backend\Pages\EditPageRequest;
use App\Http\Requests\Backend\Pages\StorePageRequest;
use App\Http\Requests\Backend\Pages\CreatePageRequest;
use App\Http\Requests\Backend\Pages\DeletePageRequest;
use App\Http\Requests\Backend\Pages\EditPageRequest;
use App\Http\Requests\Backend\Pages\ManagePageRequest;
use App\Http\Requests\Backend\Pages\StorePageRequest;
use App\Http\Requests\Backend\Pages\UpdatePageRequest;
use App\Models\Page\Page;
use App\Repositories\Backend\Pages\PagesRepository;
/**
* Class PagesController.
......@@ -63,7 +63,7 @@ class PagesController extends Controller
}
/**
* @param Page $page
* @param Page $page
* @param EditPageRequest $request
*
* @return mixed
......@@ -75,7 +75,7 @@ class PagesController extends Controller
}
/**
* @param Page $page
* @param Page $page
* @param UpdatePageRequest $request
*
* @return mixed
......@@ -88,7 +88,7 @@ class PagesController extends Controller
}
/**
* @param Page $page
* @param Page $page
* @param DeletePageRequest $request
*
* @return mixed
......
......@@ -2,11 +2,11 @@
namespace App\Http\Controllers\Backend\Pages;
use Carbon\Carbon;
use App\Http\Controllers\Controller;
use Yajra\DataTables\Facades\DataTables;
use App\Repositories\Backend\Pages\PagesRepository;
use App\Http\Requests\Backend\Pages\ManagePageRequest;
use App\Repositories\Backend\Pages\PagesRepository;
use Carbon\Carbon;
use Yajra\DataTables\Facades\DataTables;
/**
* Class PagesTableController.
......
......@@ -3,9 +3,9 @@
namespace App\Models\Page;
use App\Models\ModelTrait;
use App\Models\Page\Traits\Attribute\PageAttribute;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Models\Page\Traits\Attribute\PageAttribute;
class Page extends Model
{
......
......@@ -2,14 +2,14 @@
namespace App\Repositories\Backend\Pages;
use DB;
use App\Models\Page\Page;
use App\Repositories\BaseRepository;
use App\Exceptions\GeneralException;
use Illuminate\Database\Eloquent\Model;
use App\Events\Backend\Pages\PageCreated;
use App\Events\Backend\Pages\PageDeleted;
use App\Events\Backend\Pages\PageUpdated;
use App\Exceptions\GeneralException;
use App\Models\Page\Page;
use App\Repositories\BaseRepository;
use DB;
use Illuminate\Database\Eloquent\Model;
/**
* Class PagesRepository.
......
<?php
use Carbon\Carbon;
use Database\DisableForeignKeys;
use Database\TruncateTable;
use Illuminate\Database\Seeder;
use Database\DisableForeignKeys;
use Illuminate\Support\Facades\DB;
class PagesTableSeeder extends Seeder
......
......@@ -8,4 +8,4 @@ Route::group(['namespace' => 'Pages'], function () {
//For DataTables
Route::post('pages/get', 'PagesTableController')->name('pages.get');
});
\ No newline at end of file
});
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