File tree Expand file tree Collapse file tree 3 files changed +14
-28
lines changed
app/code/Magento/VaultGraphQl Expand file tree Collapse file tree 3 files changed +14
-28
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2018 Adobe
4+ * All Rights Reserved .
55 */
66declare (strict_types=1 );
77
2121 */
2222class DeletePaymentToken implements ResolverInterface
2323{
24- /**
25- * @var PaymentTokenManagementInterface
26- */
27- private $ paymentTokenManagement ;
28-
29- /**
30- * @var PaymentTokenRepositoryInterface
31- */
32- private $ paymentTokenRepository ;
33-
3424 /**
3525 * @param PaymentTokenManagementInterface $paymentTokenManagement
3626 * @param PaymentTokenRepositoryInterface $paymentTokenRepository
3727 */
3828 public function __construct (
39- PaymentTokenManagementInterface $ paymentTokenManagement ,
40- PaymentTokenRepositoryInterface $ paymentTokenRepository
29+ private readonly PaymentTokenManagementInterface $ paymentTokenManagement ,
30+ private readonly PaymentTokenRepositoryInterface $ paymentTokenRepository
4131 ) {
42- $ this ->paymentTokenManagement = $ paymentTokenManagement ;
43- $ this ->paymentTokenRepository = $ paymentTokenRepository ;
4432 }
4533
4634 /**
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2017 Adobe
4+ * All Rights Reserved .
55 */
66declare (strict_types=1 );
77
1919 */
2020class PaymentTokens implements ResolverInterface
2121{
22- /**
23- * @var PaymentTokenManagement
24- */
25- private $ paymentTokenManagement ;
26-
2722 /**
2823 * @param PaymentTokenManagement $paymentTokenManagement
2924 */
3025 public function __construct (
31- PaymentTokenManagement $ paymentTokenManagement
26+ private readonly PaymentTokenManagement $ paymentTokenManagement
3227 ) {
33- $ this ->paymentTokenManagement = $ paymentTokenManagement ;
3428 }
3529
3630 /**
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2015 Adobe
4+ * All Rights Reserved .
55 */
66declare (strict_types=1 );
77
88use Magento \Framework \Component \ComponentRegistrar ;
99
10- ComponentRegistrar::register (ComponentRegistrar::MODULE , 'Magento_VaultGraphQl ' , __DIR__ );
10+ ComponentRegistrar::register (
11+ ComponentRegistrar::MODULE ,
12+ 'Magento_VaultGraphQl ' ,
13+ __DIR__
14+ );
You can’t perform that action at this time.
0 commit comments