Skip to content

Commit 0423b7d

Browse files
committed
fix stan
1 parent 5b46a14 commit 0423b7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Models/Contracts/BannableContract.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
use Carbon\Carbon;
88
use Elegantly\Banhammer\Models\Ban;
99
use Illuminate\Database\Eloquent\Collection;
10+
use Illuminate\Database\Eloquent\Model;
1011
use Illuminate\Database\Eloquent\Relations\MorphMany;
1112
use Illuminate\Foundation\Auth\User;
1213

1314
/**
1415
* @template TBan of Ban
15-
*
16+
*
1617
* @property Collection<int, TBan> $bans
1718
* @property ?int $ban_level
1819
*/
1920
interface BannableContract
2021
{
2122
/**
22-
* @return MorphMany<TBan, $this>
23+
* @return MorphMany<TBan, Model>
2324
*/
2425
public function bans(): MorphMany;
2526

0 commit comments

Comments
 (0)