diff --git a/composer.json b/composer.json index 0caa796..d32f338 100644 --- a/composer.json +++ b/composer.json @@ -2,13 +2,15 @@ "name": "yemenopensource/laravel-wallet", "description": "Laravel wallet is a package with expressive pronounced syntax that provide top-notch development covering deposits, withdrawals, transactions and balances all quite simply.", "keywords": [ - "yemeni-open-source", + "yemenopensource", + "yos", "laravel-wallet", "virtual", "currency", "credits", "wallet", - "payment" + "payment", + "muath-ye" ], "type": "library", "license": "MIT", diff --git a/src/Services/WalletService.php b/src/Services/WalletService.php index 51b4b2c..c7c7084 100644 --- a/src/Services/WalletService.php +++ b/src/Services/WalletService.php @@ -4,17 +4,17 @@ class WalletService { - public function addingTransactionTypes() + public static function addingTransactionTypes() { return config('wallet.adding_transaction_types', []); } - public function subtractingTransactionTypes() + public static function subtractingTransactionTypes() { return config('wallet.subtracting_transaction_types', []); } - public function autoRecalculationActive() + public static function autoRecalculationActive() { return config('auto_recalculate_balance', false); }