添加 返回类型

This commit is contained in:
iVampireSP.com 2023-02-02 13:59:34 +08:00
parent 8e56bb86f1
commit dc76ce884e
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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());
}