Skip to content

Commit 3c71a81

Browse files
Add self to HasCollection type param in Model (#54311)
1 parent cc0365c commit 3c71a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Eloquent/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt
3838
Concerns\GuardsAttributes,
3939
Concerns\PreventsCircularRecursion,
4040
ForwardsCalls;
41-
/** @use HasCollection<\Illuminate\Database\Eloquent\Collection<array-key, static>> */
41+
/** @use HasCollection<\Illuminate\Database\Eloquent\Collection<array-key, static & self>> */
4242
use HasCollection;
4343

4444
/**

0 commit comments

Comments
 (0)