Skip to content

Commit 0ff65dd

Browse files
author
Oleksii Korshenko
committed
MAGETWO-62013: Fix class constructors in a backward compatible way - 2.1.3
1 parent 0758f35 commit 0ff65dd

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

app/code/Magento/Backend/App/Config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class Config implements ConfigInterface
2121
{
2222
/**
2323
* @var \Magento\Framework\App\Config\ScopePool
24+
*
25+
* @deprecated
2426
*/
2527
protected $_scopePool;
2628

app/code/Magento/Sales/Model/InvoiceOrder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class InvoiceOrder implements InvoiceOrderInterface
9494
* @param LoggerInterface $logger
9595
* @param InvoiceOrderValidator|null $invoiceOrderValidator
9696
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
97+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
9798
*/
9899
public function __construct(
99100
ResourceConnection $resourceConnection,

app/code/Magento/Sales/Model/ShipOrder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ class ShipOrder implements ShipOrderInterface
9090
* @param LoggerInterface $logger
9191
* @param ShipOrderValidator|null $shipOrderValidator
9292
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
93+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
9394
*/
9495
public function __construct(
9596
ResourceConnection $resourceConnection,

app/code/Magento/Store/Model/Config/Processor/Placeholder.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,22 @@ class Placeholder implements PostProcessorInterface
1919
{
2020
/**
2121
* @var \Magento\Framework\App\RequestInterface
22+
*
23+
* @deprecated
2224
*/
2325
protected $request;
2426

2527
/**
2628
* @var string[]
29+
*
30+
* @deprecated
2731
*/
2832
protected $urlPaths;
2933

3034
/**
3135
* @var string
36+
*
37+
* @deprecated
3238
*/
3339
protected $urlPlaceholder;
3440

0 commit comments

Comments
 (0)