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:
parent
b4d48c96d4
commit
542a410892
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user