From e02dace9cc23f3caae1e7a1eb0e8ff39a02de5b4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 21 Oct 2021 18:19:40 +1100 Subject: [PATCH] minor cleanup --- app/Helpers/Subscription/SubscriptionCalculator.php | 2 +- app/Utils/SystemHealth.php | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/Helpers/Subscription/SubscriptionCalculator.php b/app/Helpers/Subscription/SubscriptionCalculator.php index 18dc20cd2d01..77f14f16fd0e 100644 --- a/app/Helpers/Subscription/SubscriptionCalculator.php +++ b/app/Helpers/Subscription/SubscriptionCalculator.php @@ -69,7 +69,7 @@ class SubscriptionCalculator if($refund_invoice) { $subscription = Subscription::find($this->invoice->subscription_id); - $pro_rata = new ProRata(); + $pro_rata = new ProRata; $to_date = $subscription->service()->getNextDateForFrequency(Carbon::parse($refund_invoice->date), $subscription->frequency_id); diff --git a/app/Utils/SystemHealth.php b/app/Utils/SystemHealth.php index fb329a85e358..b6ae0d3c880c 100644 --- a/app/Utils/SystemHealth.php +++ b/app/Utils/SystemHealth.php @@ -25,17 +25,13 @@ use Illuminate\Support\Facades\Queue; class SystemHealth { private static $extensions = [ - // 'mysqli', 'gd', 'curl', 'zip', -// 'gmp', 'openssl', 'mbstring', 'xml', 'bcmath', - // 'mysqlnd', - //'intl', //todo double check whether we need this for email dns validation ]; private static $php_version = 7.4;