Skip to content

Commit 2eaeaea

Browse files
committed
Fix README import and code block
1 parent 88ee6e6 commit 2eaeaea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ composer require michal78/laravel-tasks
1919

2020
```php
2121
// Add the HasTasks trait to your model
22-
use Michal78\LaravelTasks\Traits\HasTasks;
22+
use Michal78\Tasks\Traits\HasTasks;
2323

2424
class User extends Model
2525
{
@@ -49,8 +49,6 @@ $user->tasks()->completed()->get();
4949
$user->tasks()->completed()->future()->get();
5050
```
5151

52-
```php
53-
```
5452

5553
### Testing (Not implemented yet)
5654

0 commit comments

Comments
 (0)