Truc de test
continuous-integration/drone/push Build is failing Details

WORK-APE
Paul LEVRAULT 1 year ago
parent 661b9c80cf
commit 9ee8e90065

@ -164,6 +164,30 @@ class UserRepository implements IUserRepository {
return false; return false;
} }
/**
* Supprime un utilisateur du dépôt.
*
* @param User $username Le username de la personne qui recherche ses amis.
* @return bool Retourne la liste des amis de l'utilisateur passe en paramètre.
*/
//TODO
public function getFriends(): array {
return [
[
'nom' => 'John',
'prenom' => 'Doe',
'img' => 'test',
'username' => 'johndoe',
],
[
'nom' => 'Alice',
'prenom' => 'Smith',
'img' => 'test2',
'username' => 'alicesmith',
],
];
}
public function addFriend(int $user1, int $user2) public function addFriend(int $user1, int $user2)
{ {
return true; return true;

Loading…
Cancel
Save