diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-07-03 11:49:46 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-07-03 13:40:47 +0200 |
commit | e50d7d31c0746ffbfe69065258981e1b4dcd203b (patch) | |
tree | e8d47b72bd7f863bccab16f8884d1018915c11bd | |
parent | 9114615adcee0255273c7e91d6d8e55f57fc3d6f (diff) | |
download | wallabag-e50d7d31c0746ffbfe69065258981e1b4dcd203b.tar.gz wallabag-e50d7d31c0746ffbfe69065258981e1b4dcd203b.tar.zst wallabag-e50d7d31c0746ffbfe69065258981e1b4dcd203b.zip |
CS
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/SiteCredential.php | 2 | ||||
-rw-r--r-- | src/Wallabag/UserBundle/Entity/User.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/SiteCredential.php b/src/Wallabag/CoreBundle/Entity/SiteCredential.php index 380f820d..4d6557c5 100644 --- a/src/Wallabag/CoreBundle/Entity/SiteCredential.php +++ b/src/Wallabag/CoreBundle/Entity/SiteCredential.php | |||
@@ -57,7 +57,7 @@ class SiteCredential | |||
57 | private $createdAt; | 57 | private $createdAt; |
58 | 58 | ||
59 | /** | 59 | /** |
60 | * @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="site_credentials") | 60 | * @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="siteCredentials") |
61 | */ | 61 | */ |
62 | private $user; | 62 | private $user; |
63 | 63 | ||
diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php index a3320bbc..53c327f9 100644 --- a/src/Wallabag/UserBundle/Entity/User.php +++ b/src/Wallabag/UserBundle/Entity/User.php | |||
@@ -97,7 +97,7 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf | |||
97 | * | 97 | * |
98 | * @ORM\OneToMany(targetEntity="Wallabag\CoreBundle\Entity\SiteCredential", mappedBy="user", cascade={"remove"}) | 98 | * @ORM\OneToMany(targetEntity="Wallabag\CoreBundle\Entity\SiteCredential", mappedBy="user", cascade={"remove"}) |
99 | */ | 99 | */ |
100 | protected $site_credentials; | 100 | protected $siteCredentials; |
101 | 101 | ||
102 | /** | 102 | /** |
103 | * @var ArrayCollection | 103 | * @var ArrayCollection |