Skip to content

Commit 7d34e7a

Browse files
committed
readme additions
1 parent b887643 commit 7d34e7a

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
@@ -68,7 +68,7 @@ Once installed, you can use the service by either inject it to your methods or a
6868
For more information about how to use the service, look at https://github.com/joshrps/laravel-shopify-API-wrapper.
6969

7070
### Dependency Injection
71-
Now you can simply type hint the service in your method's arguments. For better readabilty, we prefer to import the full class name with a `use` statement, and aliasing it to Shopify while we're at it.
71+
Now you can simply type hint the service in your method's arguments. For better readabilty, we prefer to import the full class name with a `use` statement, and alias it to Shopify while we're at it.
7272

7373
```php
7474
use RocketCode\Shopify\API as Shopify;
@@ -89,7 +89,7 @@ Route::get('/', function (Shopify $shopify) {
8989
```
9090

9191
### Facade
92-
Now you can use Laravel's [on the fly facades](https://twitter.com/taylorotwell/status/814944242158149632) feature to use the service "statically".
92+
Now you can use Laravel's [on the fly facades](https://twitter.com/taylorotwell/status/814944242158149632) feature to use the service "statically". We prefer to alias it to ShopifyAPI while we're at it.
9393

9494
```php
9595
use Facades\RocketCode\Shopify\API as ShopifyAPI;

0 commit comments

Comments
 (0)