File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 2020 * @ORM\Entity
2121 * @ORM\Table(name="sylius_paypal_plugin_pay_pal_credentials")
2222 */
23+ #[ORM \Entity]
24+ #[ORM \Table(name: 'sylius_paypal_plugin_pay_pal_credentials ' )]
2325class PayPalCredentials implements PayPalCredentialsInterface
2426{
2527 /**
2628 * @ORM\Id
2729 * @ORM\Column(type="string")
2830 */
31+ #[ORM \Id]
32+ #[ORM \Column(type: 'string ' )]
2933 private string $ id ;
3034
3135 /**
3236 * @ORM\ManyToOne(targetEntity="Sylius\Component\Core\Model\PaymentMethodInterface")
3337 * @ORM\JoinColumn(name="payment_method_id", referencedColumnName="id")
3438 */
39+ #[ORM \ManyToOne(targetEntity: PaymentMethodInterface::class)]
40+ #[ORM \JoinColumn(name: 'payment_method_id ' , referencedColumnName: 'id ' )]
3541 private PaymentMethodInterface $ paymentMethod ;
3642
3743 /** @ORM\Column(type="string", name="access_token") */
44+ #[ORM \Column(name: 'access_token ' , type: 'string ' )]
3845 private string $ accessToken ;
3946
4047 /** @ORM\Column(type="datetime", name="creation_time") */
48+ #[ORM \Column(name: 'creation_time ' , type: 'datetime ' )]
4149 private \DateTime $ creationTime ;
4250
4351 /** @ORM\Column(type="datetime", name="expiration_time") */
52+ #[ORM \Column(name: 'expiration_time ' , type: 'datetime ' )]
4453 private \DateTime $ expirationTime ;
4554
4655 public function __construct (
You can’t perform that action at this time.
0 commit comments