fix lint
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Successful in 4m29s Details
Tests & Lint & Deploy to Railway / deploy (push) Successful in 20s Details

This commit is contained in:
aslan 2024-02-14 16:41:51 +03:00
parent e7818471db
commit 454a4a6d96
1 changed files with 2 additions and 3 deletions

View File

@ -38,8 +38,7 @@ class EducationLevelController extends Controller
public function show(
EducationLevel $educationLevel
): View|Application|Factory|\Illuminate\Contracts\Foundation\Application
{
): View|Application|Factory|\Illuminate\Contracts\Foundation\Application {
$directions = $educationLevel->directions();
return view(
'admin.catalog.education_level.show',
@ -66,7 +65,7 @@ class EducationLevelController extends Controller
public function destroy(EducationLevel $educationLevel)
{
if($educationLevel->directions()->exists()) {
if ($educationLevel->directions()->exists()) {
return back();
}
$educationLevel->delete();