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
Test and fixes every REST ressources already implemented.
[Project_proches_de_moi-server.git]
/
src
/
Entity
/
Friendship.php
diff --git
a/src/Entity/Friendship.php
b/src/Entity/Friendship.php
index 444523f5b3d50513c2faad00aecf1453f51787d4..5065733cea9c2022538038e30675d36d6dd822c5 100644
(file)
--- a/
src/Entity/Friendship.php
+++ b/
src/Entity/Friendship.php
@@
-13,13
+13,13
@@
class Friendship
{
/**
* @ORM\Id
{
/**
* @ORM\Id
- * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends"
, cascade={"all"}
)
+ * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends")
*/
protected $person;
/**
* @ORM\Id
*/
protected $person;
/**
* @ORM\Id
- * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends_with_me"
, cascade={"all"}
)
+ * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends_with_me")
* @Serializer\Expose
*/
protected $friend;
* @Serializer\Expose
*/
protected $friend;