We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da88ba5 commit 5c0d7a8Copy full SHA for 5c0d7a8
src/Traits/MorphOneWallet.php
@@ -29,7 +29,7 @@ public function wallet(): MorphOne
29
->where('slug', config('wallet.wallet.default.slug', 'default'))
30
->withDefault(static function (WalletModel $wallet, object $holder) use ($castService) {
31
$model = $castService->getModel($holder);
32
- $wallet->forceFill(array_merge((array) config('wallet.wallet.creating', []), [
+ $wallet->forceFill(array_merge(config('wallet.wallet.creating', []), [
33
'name' => config('wallet.wallet.default.name', 'Default Wallet'),
34
'slug' => config('wallet.wallet.default.slug', 'default'),
35
'meta' => config('wallet.wallet.default.meta', []),
0 commit comments