Repo Interface für tests
This commit is contained in:
@@ -4,7 +4,7 @@ namespace MintyPHP\Repository\User;
|
||||
|
||||
use MintyPHP\DB;
|
||||
|
||||
class UserExternalIdentityRepository
|
||||
class UserExternalIdentityRepository implements UserExternalIdentityRepositoryInterface
|
||||
{
|
||||
private function unwrap($row): ?array
|
||||
{
|
||||
@@ -39,7 +39,7 @@ class UserExternalIdentityRepository
|
||||
return $this->unwrap($row);
|
||||
}
|
||||
|
||||
public function createLink(array $data)
|
||||
public function createLink(array $data): mixed
|
||||
{
|
||||
return DB::insert(
|
||||
'insert into user_external_identities (user_id, provider, oid, tid, issuer, subject, email_at_link_time, created) values (?,?,?,?,?,?,?,NOW())',
|
||||
|
||||
Reference in New Issue
Block a user