From 134e374720b30876b7a3743972da4a7f2260cac4 Mon Sep 17 00:00:00 2001 From: Eduar Bastidas Date: Fri, 19 Mar 2021 19:14:52 -0400 Subject: [PATCH] Fix readme --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index fa18f84..c206d2d 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ class User extends Authenticatable } ``` -##### Basic operations +#### Basic operations ```php $user->increaseBalance(2575); @@ -71,7 +71,7 @@ $user->modifyBalance(3037); $user->balance; // 5 ``` -##### Reset balance +#### Reset balance It's also possible to reset the balance and directly setting a new value. @@ -81,7 +81,7 @@ $user->resetBalance(); // 0 $user->resetBalance(10); // 10 ``` -##### Check if model has balance +#### Check if model has balance Check if there is a positive balance or a balance greater than that provided. ```php @@ -89,15 +89,7 @@ $user->hasBalance(); $user->hasBalance(2575); ``` -##### Check if model has balance - -Check if there is a positive balance or a balance greater than that provided. -```php -$user->hasBalance(); -$user->hasBalance(2575); -``` - -##### Check if model has no balance +#### Check if model has no balance Check if there is no more balance. ```php