添加 返回类型
This commit is contained in:
parent
8e56bb86f1
commit
dc76ce884e
@ -173,7 +173,7 @@ public function selectPublic(): self|Builder|CachedBuilder
|
||||
return $this->select($this->publics);
|
||||
}
|
||||
|
||||
public function prunable()
|
||||
public function prunable(): self|Builder|CachedBuilder
|
||||
{
|
||||
return static::where('deleted_at', '<=', now()->subWeek());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user