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 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2018 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
21
21
*/
22
22
class DeletePaymentToken implements ResolverInterface
23
23
{
24
- /**
25
- * @var PaymentTokenManagementInterface
26
- */
27
- private $ paymentTokenManagement ;
28
-
29
- /**
30
- * @var PaymentTokenRepositoryInterface
31
- */
32
- private $ paymentTokenRepository ;
33
-
34
24
/**
35
25
* @param PaymentTokenManagementInterface $paymentTokenManagement
36
26
* @param PaymentTokenRepositoryInterface $paymentTokenRepository
37
27
*/
38
28
public function __construct (
39
- PaymentTokenManagementInterface $ paymentTokenManagement ,
40
- PaymentTokenRepositoryInterface $ paymentTokenRepository
29
+ private readonly PaymentTokenManagementInterface $ paymentTokenManagement ,
30
+ private readonly PaymentTokenRepositoryInterface $ paymentTokenRepository
41
31
) {
42
- $ this ->paymentTokenManagement = $ paymentTokenManagement ;
43
- $ this ->paymentTokenRepository = $ paymentTokenRepository ;
44
32
}
45
33
46
34
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2017 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
19
19
*/
20
20
class PaymentTokens implements ResolverInterface
21
21
{
22
- /**
23
- * @var PaymentTokenManagement
24
- */
25
- private $ paymentTokenManagement ;
26
-
27
22
/**
28
23
* @param PaymentTokenManagement $paymentTokenManagement
29
24
*/
30
25
public function __construct (
31
- PaymentTokenManagement $ paymentTokenManagement
26
+ private readonly PaymentTokenManagement $ paymentTokenManagement
32
27
) {
33
- $ this ->paymentTokenManagement = $ paymentTokenManagement ;
34
28
}
35
29
36
30
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2015 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
8
8
use Magento \Framework \Component \ComponentRegistrar ;
9
9
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