From 428b2ec9b5b1ada2dda757a9919e69b63b14e824 Mon Sep 17 00:00:00 2001 From: bleuscyther Date: Thu, 10 Feb 2022 00:23:01 +0000 Subject: [PATCH] Fix styling --- src/LaravelMoncash.php | 16 +++++++++------- src/LaravelMoncashServiceProvider.php | 2 +- tests/TestCase.php | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/LaravelMoncash.php b/src/LaravelMoncash.php index 7e74430..161331d 100644 --- a/src/LaravelMoncash.php +++ b/src/LaravelMoncash.php @@ -4,7 +4,8 @@ use Fruitsbytes\PHP\Moncash\Moncash; -class LaravelMoncash extends Moncash { +class LaravelMoncash extends Moncash +{ /** * @var string Default value 'sandbox' */ @@ -16,11 +17,12 @@ class LaravelMoncash extends Moncash { public bool $isProduction; - public function __construct() { - $this->client_id = config( 'moncash.client_id' ); - $this->client_secret = config( 'moncash.client_secret' ); - $this->mode = config( 'moncash.mode' ); - $this->isProduction = $this->mode === 'sandbox'; - parent::__construct( $this->client_id, $this->client_secret, $this->mode ); + public function __construct() + { + $this->client_id = config('moncash.client_id'); + $this->client_secret = config('moncash.client_secret'); + $this->mode = config('moncash.mode'); + $this->isProduction = $this->mode === 'sandbox'; + parent::__construct($this->client_id, $this->client_secret, $this->mode); } } diff --git a/src/LaravelMoncashServiceProvider.php b/src/LaravelMoncashServiceProvider.php index aa3da24..f319391 100644 --- a/src/LaravelMoncashServiceProvider.php +++ b/src/LaravelMoncashServiceProvider.php @@ -2,9 +2,9 @@ namespace Fruitsbytes\LaravelMoncash; +use Fruitsbytes\LaravelMoncash\Commands\LaravelMoncashCommand; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; -use Fruitsbytes\LaravelMoncash\Commands\LaravelMoncashCommand; class LaravelMoncashServiceProvider extends PackageServiceProvider { diff --git a/tests/TestCase.php b/tests/TestCase.php index 637117e..d96e55c 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,9 +2,9 @@ namespace Fruitsbytes\LaravelMoncash\Tests; +use Fruitsbytes\LaravelMoncash\LaravelMoncashServiceProvider; use Illuminate\Database\Eloquent\Factories\Factory; use Orchestra\Testbench\TestCase as Orchestra; -use Fruitsbytes\LaravelMoncash\LaravelMoncashServiceProvider; class TestCase extends Orchestra {