@@ -5,8 +5,7 @@ |
||
| 5 | 5 | use App\DoctorDetail; |
| 6 | 6 | use Illuminate\Http\Request; |
| 7 | 7 | |
| 8 | -class DoctorDetailController extends Controller |
|
| 9 | -{ |
|
| 8 | +class DoctorDetailController extends Controller { |
|
| 10 | 9 | /** |
| 11 | 10 | * Display a listing of the resource. |
| 12 | 11 | * |
@@ -9,8 +9,7 @@ discard block |
||
| 9 | 9 | use App\Admin; |
| 10 | 10 | use Illuminate\Support\Facades\Storage; |
| 11 | 11 | |
| 12 | -class AdminController extends Controller |
|
| 13 | -{ |
|
| 12 | +class AdminController extends Controller { |
|
| 14 | 13 | /** |
| 15 | 14 | * AdminController constructor. |
| 16 | 15 | */ |
@@ -243,7 +242,8 @@ discard block |
||
| 243 | 242 | /** |
| 244 | 243 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector |
| 245 | 244 | */ |
| 246 | - public function destroy() { |
|
| 245 | + public function destroy() |
|
| 246 | + { |
|
| 247 | 247 | $admin = $this->currentUser(); |
| 248 | 248 | |
| 249 | 249 | if($admin->delete()) { |
@@ -8,8 +8,7 @@ |
||
| 8 | 8 | use App\Hospital; |
| 9 | 9 | use App\Room; |
| 10 | 10 | |
| 11 | -class RoomController extends Controller |
|
| 12 | -{ |
|
| 11 | +class RoomController extends Controller { |
|
| 13 | 12 | /** |
| 14 | 13 | * Show the form for creating a new resource. |
| 15 | 14 | * |
@@ -4,8 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Foundation\Http\Kernel as HttpKernel; |
| 6 | 6 | |
| 7 | -class Kernel extends HttpKernel |
|
| 8 | -{ |
|
| 7 | +class Kernel extends HttpKernel { |
|
| 9 | 8 | /** |
| 10 | 9 | * The application's global HTTP middleware stack. |
| 11 | 10 | * |