repositories
/
Project_proches_de_moi-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use view handler where appropriate.
[Project_proches_de_moi-server.git]
/
src
/
Entity
/
Person.php
diff --git
a/src/Entity/Person.php
b/src/Entity/Person.php
index 701b9e63cc6a550591be4a919a690e2b3193eb2a..d1c7886bf2dfab2cda322d0a2d35322077b85465 100644
(file)
--- a/
src/Entity/Person.php
+++ b/
src/Entity/Person.php
@@
-154,7
+154,7
@@
class Person
$this->friends_with_me->add($friendship);
}
- public function addFriend(
User
$friend)
+ public function addFriend(
Person
$friend)
{
$fs = new Friendship();
$fs->setPerson($this);