Skip to content

Commit 71deaf2

Browse files
authoredDec 19, 2023
Merge pull request #32 from justRau/patch-1
Fix two typos
2 parents a6984cb + 37ee9ef commit 71deaf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class User extends Authenticatable implements CanPresent
8484
This package gives you an easy way to generate new `Presenter` class, all you need to do is to use `presenter:make` command.
8585

8686
```bash
87-
php artisan presenter:make UserPresneter
87+
php artisan presenter:make UserPresenter
8888
```
8989

9090
`UserPresenter` in our case, leaves by default in `App\Presenters`.
@@ -111,7 +111,7 @@ If you want to change the directory, you have two options.
111111
First options is to set the full namespace while you're creating the presenter class
112112

113113
```bash
114-
php artisna presneter:make App\Models\Presenter\UserPresenter
114+
php artisna presenter:make App\Models\Presenter\UserPresenter
115115
```
116116

117117
Or change `presenter_namespace` from `config/laravel-presenter` file.

0 commit comments

Comments
 (0)
Please sign in to comment.