forked from eatvio/eatvio-infra
static analizys update
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
/**
|
||||
* App\Models\CircumferenceMeasure
|
||||
@@ -15,7 +16,6 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int $hip_circumference
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*
|
||||
* @property-read \App\Models\User|null $user
|
||||
*
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|CircumferenceMeasure newModelQuery()
|
||||
@@ -37,7 +37,7 @@ class CircumferenceMeasure extends Model
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
public function user()
|
||||
public function user(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user