forked from aslan/applicant-site
fix lint
This commit is contained in:
parent
e7818471db
commit
454a4a6d96
|
@ -38,8 +38,7 @@ class EducationLevelController extends Controller
|
||||||
|
|
||||||
public function show(
|
public function show(
|
||||||
EducationLevel $educationLevel
|
EducationLevel $educationLevel
|
||||||
): View|Application|Factory|\Illuminate\Contracts\Foundation\Application
|
): View|Application|Factory|\Illuminate\Contracts\Foundation\Application {
|
||||||
{
|
|
||||||
$directions = $educationLevel->directions();
|
$directions = $educationLevel->directions();
|
||||||
return view(
|
return view(
|
||||||
'admin.catalog.education_level.show',
|
'admin.catalog.education_level.show',
|
||||||
|
@ -66,7 +65,7 @@ class EducationLevelController extends Controller
|
||||||
|
|
||||||
public function destroy(EducationLevel $educationLevel)
|
public function destroy(EducationLevel $educationLevel)
|
||||||
{
|
{
|
||||||
if($educationLevel->directions()->exists()) {
|
if ($educationLevel->directions()->exists()) {
|
||||||
return back();
|
return back();
|
||||||
}
|
}
|
||||||
$educationLevel->delete();
|
$educationLevel->delete();
|
||||||
|
|
Loading…
Reference in New Issue