Skip to content

Commit

Permalink
Add self to HasCollection type param in Model (#54311)
Browse files Browse the repository at this point in the history
  • Loading branch information
thena-seer-sfg authored Jan 22, 2025
1 parent cc0365c commit 3c71a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt
Concerns\GuardsAttributes,
Concerns\PreventsCircularRecursion,
ForwardsCalls;
/** @use HasCollection<\Illuminate\Database\Eloquent\Collection<array-key, static>> */
/** @use HasCollection<\Illuminate\Database\Eloquent\Collection<array-key, static & self>> */
use HasCollection;

/**
Expand Down

0 comments on commit 3c71a81

Please sign in to comment.