diff options
-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 |