File tree Expand file tree Collapse file tree 5 files changed +23
-22
lines changed
app/code/Magento/SalesGraphQl/Model
dev/tests/api-functional/testsuite/Magento/GraphQl/Sales Expand file tree Collapse file tree 5 files changed +23
-22
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 2020 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
20
20
*/
21
21
class Order
22
22
{
23
- private TimezoneInterface $ timezone ;
24
-
25
23
/**
26
24
* @param OrderAddress $orderAddress
27
25
* @param OrderPayments $orderPayments
@@ -30,7 +28,7 @@ class Order
30
28
public function __construct (
31
29
private readonly OrderAddress $ orderAddress ,
32
30
private readonly OrderPayments $ orderPayments ,
33
- TimezoneInterface $ timezone = null
31
+ private ? TimezoneInterface $ timezone = null
34
32
) {
35
33
$ this ->timezone = $ timezone ?: ObjectManager::getInstance ()->get (TimezoneInterface::class);
36
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 2020 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
21
21
*/
22
22
class CreditMemoComments implements ResolverInterface
23
23
{
24
- private TimezoneInterface $ timezone ;
25
-
24
+ /**
25
+ * @param TimezoneInterface|null $timezone
26
+ */
26
27
public function __construct (
27
- TimezoneInterface $ timezone = null
28
+ private ? TimezoneInterface $ timezone = null
28
29
) {
29
30
$ this ->timezone = $ timezone ?: ObjectManager::getInstance ()->get (TimezoneInterface::class);
30
31
}
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 2020 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
22
22
*/
23
23
class Invoices implements ResolverInterface
24
24
{
25
- private TimezoneInterface $ timezone ;
26
-
25
+ /**
26
+ * @param TimezoneInterface|null $timezone
27
+ */
27
28
public function __construct (
28
- TimezoneInterface $ timezone = null
29
+ private ? TimezoneInterface $ timezone = null
29
30
) {
30
31
$ this ->timezone = $ timezone ?: ObjectManager::getInstance ()->get (TimezoneInterface::class);
31
32
}
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 2020 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
22
22
*/
23
23
class Shipments implements ResolverInterface
24
24
{
25
- private TimezoneInterface $ timezone ;
26
-
25
+ /**
26
+ * @param TimezoneInterface|null $timezone
27
+ */
27
28
public function __construct (
28
- TimezoneInterface $ timezone = null
29
+ private ? TimezoneInterface $ timezone = null
29
30
) {
30
31
$ this ->timezone = $ timezone ?: ObjectManager::getInstance ()->get (TimezoneInterface::class);
31
32
}
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 2020 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
You can’t perform that action at this time.
0 commit comments