Un autre truc
continuous-integration/drone/push Build is failing Details

WORK-APE
Paul LEVRAULT 2 years ago
parent 9ee8e90065
commit aa49d0960a

@ -135,7 +135,21 @@ class UserManager
}
public function getFriends(): array {
return $this->currentUser->getRole()->getUsersList();
return [
[
'nom' => 'John',
'prenom' => 'Doe',
'img' => 'test',
'username' => 'johndoe',
],
[
'nom' => 'Alice',
'prenom' => 'Smith',
'img' => 'test2',
'username' => 'alicesmith',
],
];
//return $this->currentUser->getRole()->getUsersList();
}
// NEED TO PERSIST

Loading…
Cancel
Save