laravel-typegen
laravel-typegen copied to clipboard
The system cannot find the path specified. - Laravel Model
// app/Models/BasicInformation.php
class BasicInformation extends Model
{
use SoftDeletes, HasFactory;
protected $fillable = [
'name',
'gender',
'dob',
'marital_status',
'profile_bio',
'user_id',
'children',
'children_living_status',
'profile_created_by',
];
protected $casts = [
'dob' => 'datetime',
];
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}
but it can't able to generate the types.