This commit is contained in:
Jeremy Benoist 2017-07-03 11:49:46 +02:00
parent 9114615adc
commit e50d7d31c0
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 2 deletions

View file

@ -57,7 +57,7 @@ class SiteCredential
private $createdAt;
/**
* @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="site_credentials")
* @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="siteCredentials")
*/
private $user;

View file

@ -97,7 +97,7 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
*
* @ORM\OneToMany(targetEntity="Wallabag\CoreBundle\Entity\SiteCredential", mappedBy="user", cascade={"remove"})
*/
protected $site_credentials;
protected $siteCredentials;
/**
* @var ArrayCollection