Skip to content

Commit 957c782

Browse files
committed
update readme
1 parent 14458e0 commit 957c782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ $user->addresses;
8989
$user->addresses();
9090
9191
// Scope Primary Addresses
92-
$primaryAddresses = app('addressable.address')->isPrimary()->get();
92+
$primaryAddresses = Bkfdev\Addressable\Models\Address::isPrimary()->get();
9393
9494
// Scope Addresses in the given country
95-
$algerianAddresses = app('addressable.address')->inCountry('dz')->get();
95+
$algerianAddresses = Bkfdev\Addressable\Models\Address::inCountry('dz')->get();
9696
9797
```
9898

0 commit comments

Comments
 (0)