|
|
|
@ -38,6 +38,9 @@ class Identity extends BaseIdentity |
|
|
|
|
*/ |
|
|
|
|
public function remove(array $IdentityId): bool |
|
|
|
|
{ |
|
|
|
|
return static::whereIn('identity_id', $IdentityId)->delete(); |
|
|
|
|
if (static::whereIn('identity_id', $IdentityId)->delete()) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
} |