1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Updates for static analysis

This commit is contained in:
David Bomba 2023-08-11 18:07:57 +10:00
parent b4d48c96d4
commit 542a410892

View File

@ -131,16 +131,15 @@ class CompanyUser extends Pivot
}
/**
* @return \Awobaz\Compoships\Database\Eloquent\Relations\HasOne<User>
* @return \Illuminate\Database\Eloquent\Relations\HasOne<User>
*/
public function user_pivot()
{
return $this->hasOne(User::class)->withPivot('permissions', 'settings', 'react_settings', 'is_admin', 'is_owner', 'is_locked', 'slack_webhook_url', 'migrating');
}
/**
* @return \Awobaz\Compoships\Database\Eloquent\Relations\HasOne<Company>
* @return \Illuminate\Database\Eloquent\Relations\HasOne<Company>
*/
public function company_pivot()
{