From 0e64c81c36d221d69233ffc9ff7ae67693936f54 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 30 Dec 2024 05:15:21 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Exception/ErrorException.php | 4 +++- src/Exception/MissingArgumentException.php | 4 +++- src/Services/EtherScanService.php | 1 - tests/Unit/TestCase.php | 4 +++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Exception/ErrorException.php b/src/Exception/ErrorException.php index a22604a..f8c6e68 100644 --- a/src/Exception/ErrorException.php +++ b/src/Exception/ErrorException.php @@ -2,4 +2,6 @@ namespace Slvler\Ether\Exception; -class ErrorException {} +class ErrorException +{ +} diff --git a/src/Exception/MissingArgumentException.php b/src/Exception/MissingArgumentException.php index f166c28..2bf742a 100644 --- a/src/Exception/MissingArgumentException.php +++ b/src/Exception/MissingArgumentException.php @@ -2,4 +2,6 @@ namespace Slvler\Ether\Exception; -class MissingArgumentException {} +class MissingArgumentException +{ +} diff --git a/src/Services/EtherScanService.php b/src/Services/EtherScanService.php index 29cd38e..5646f4b 100644 --- a/src/Services/EtherScanService.php +++ b/src/Services/EtherScanService.php @@ -15,7 +15,6 @@ class EtherScanService public function __construct() { - $apiKey = config('etherscan.ether.api_key'); if (empty($apiKey) || ! isset($apiKey)) { throw MissingApiKey::create(); diff --git a/tests/Unit/TestCase.php b/tests/Unit/TestCase.php index 13e5b25..9b4da29 100644 --- a/tests/Unit/TestCase.php +++ b/tests/Unit/TestCase.php @@ -18,5 +18,7 @@ protected function getPackageProviders($app) ]; } - protected function getEnvironmentSetUp($app) {} + protected function getEnvironmentSetUp($app) + { + } }