Moved some basic intuit commands to leenooks/intuit

This commit is contained in:
2024-08-12 20:58:35 +10:00
parent 5abc07b712
commit bab1f45234
7 changed files with 32 additions and 211 deletions

View File

@@ -11,6 +11,8 @@ trait ProviderRef
{
public function provider_ref(ProviderOauth $poo): ?string
{
return (($x=$this->providers->where('pivot.provider_oauth_id',$poo->id))->count() === 1) ? $x->pop()->pivot->ref : NULL;
return (($x=$this->providers->where('pivot.provider_oauth_id',$poo->id))->count() === 1)
? $x->pop()->pivot->ref
: NULL;
}
}