Skip to content

Commit

Permalink
Specify factory generic
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Nov 13, 2024
1 parent 51b7c23 commit 7e7958d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<\Illuminate\Notifications\DatabaseNotification> $notifications
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Post> $posts
*
* @method static UserFactory factory(...$parameters)
* @method static \Database\Factories\UserFactory factory(...$parameters)
*
* @mixin \Eloquent
*/
final class User extends Authenticatable
{
/** @use \Illuminate\Database\Eloquent\Factories\HasFactory<\Database\Factories\UserFactory> */
use HasFactory;
use Notifiable;

Expand Down

0 comments on commit 7e7958d

Please sign in to comment.