From 454a4a6d9629f6c12720e2d95faab1b93cd079a8 Mon Sep 17 00:00:00 2001 From: aslan Date: Wed, 14 Feb 2024 16:41:51 +0300 Subject: [PATCH] fix lint --- .../Controllers/admin/Catalog/EducationLevelController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/admin/Catalog/EducationLevelController.php b/app/Http/Controllers/admin/Catalog/EducationLevelController.php index 1b9977f..45a0875 100644 --- a/app/Http/Controllers/admin/Catalog/EducationLevelController.php +++ b/app/Http/Controllers/admin/Catalog/EducationLevelController.php @@ -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();