Moved some basic intuit commands to leenooks/intuit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user