From 86c68a5e3ae156446964b76cdd5021b13fb54bee Mon Sep 17 00:00:00 2001 From: sawirricardo Date: Sat, 19 Feb 2022 03:07:16 +0000 Subject: [PATCH] Fix styling --- src/MidtransServiceProvider.php | 1 - src/helpers.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MidtransServiceProvider.php b/src/MidtransServiceProvider.php index 167539d..0338f9f 100644 --- a/src/MidtransServiceProvider.php +++ b/src/MidtransServiceProvider.php @@ -5,7 +5,6 @@ use Illuminate\Support\Facades\Blade; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; -use Sawirricardo\Midtrans\Laravel\Midtrans; class MidtransServiceProvider extends PackageServiceProvider { diff --git a/src/helpers.php b/src/helpers.php index d34a0af..bbf3393 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -2,7 +2,7 @@ use Sawirricardo\Midtrans\Laravel\Facades\Midtrans as LaravelMidtrans; -if (!function_exists('midtrans')) { +if (! function_exists('midtrans')) { function midtrans(): \Sawirricardo\Midtrans\Midtrans { return app(LaravelMidtrans::class)::new();