Skip to content

Commit 134e374

Browse files
committed
Fix readme
1 parent 4df98f1 commit 134e374

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class User extends Authenticatable
5555
}
5656
```
5757

58-
##### Basic operations
58+
#### Basic operations
5959

6060
```php
6161
$user->increaseBalance(2575);
@@ -71,7 +71,7 @@ $user->modifyBalance(3037);
7171
$user->balance; // 5
7272
```
7373

74-
##### Reset balance
74+
#### Reset balance
7575

7676
It's also possible to reset the balance and directly setting a new value.
7777

@@ -81,23 +81,15 @@ $user->resetBalance(); // 0
8181
$user->resetBalance(10); // 10
8282
```
8383

84-
##### Check if model has balance
84+
#### Check if model has balance
8585

8686
Check if there is a positive balance or a balance greater than that provided.
8787
```php
8888
$user->hasBalance();
8989
$user->hasBalance(2575);
9090
```
9191

92-
##### Check if model has balance
93-
94-
Check if there is a positive balance or a balance greater than that provided.
95-
```php
96-
$user->hasBalance();
97-
$user->hasBalance(2575);
98-
```
99-
100-
##### Check if model has no balance
92+
#### Check if model has no balance
10193

10294
Check if there is no more balance.
10395
```php

0 commit comments

Comments
 (0)