1 | <?php |
||
2 | |||
3 | namespace App\Models; |
||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
||
6 | use Illuminate\Database\Eloquent\Model; |
||
7 | use Illuminate\Database\Eloquent\Relations\BelongsTo; |
||
8 | |||
9 | class PasswordSecurity extends Model |
||
10 | { |
||
11 | use HasFactory; |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
12 | |||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | protected $guarded = []; |
||
17 | |||
18 | public function user(): BelongsTo |
||
19 | { |
||
20 | return $this->belongsTo(User::class); |
||
21 | } |
||
22 | } |
||
23 |