Skip to content

Commit 5402d2d

Browse files
authored
Update README.md
1 parent 9012255 commit 5402d2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ laravel-wallet - Easy work with virtual wallet.
2121

2222
### Run Migrations
2323
Publish the migrations with this artisan command:
24-
```
24+
```bash
2525
php artisan vendor:publish --tag=laravel-wallet-migrations
2626
```
2727

2828
### Configuration
2929
You can publish the config file with this artisan command:
30-
```
30+
```bash
3131
php artisan vendor:publish --tag=laravel-wallet-config
3232
```
3333

3434
### Usage
3535
Add the HasWallet trait to model.
36-
```
36+
```php
3737
use Bavix\Wallet\Traits\HasWallet;
3838
use Bavix\Wallet\Interfaces\Wallet;
3939

@@ -45,7 +45,7 @@ class User extends Model implements Wallet
4545

4646
Now we make transactions.
4747

48-
```
48+
```php
4949
$user = User::first();
5050
$user->balance; // int(0)
5151

0 commit comments

Comments
 (0)