Skip to content

Commit 03de50f

Browse files
committed
Add PHPDoc annotation for HasDrafts mixin to improve type clarity
1 parent 10b50a8 commit 03de50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/app/Models/Post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
use Oddvalue\LaravelDrafts\Database\Factories\PostFactory;
1313

1414
/**
15-
* @mixes \Oddvalue\LaravelDrafts\Concerns\HasDrafts
1615
* @use HasFactory<PostFactory>
1716
*/
1817
class Post extends Model
1918
{
19+
/** @use HasDrafts<Post> */
2020
use HasDrafts;
2121
use HasFactory;
2222

0 commit comments

Comments
 (0)