Skip to content

Commit 27bdf61

Browse files
author
Stanislav Idolov
authored
Make the changes backward compatible
1 parent 032c82d commit 27bdf61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ class OrderRepository implements \Magento\Sales\Api\OrderRepositoryInterface
6262
*
6363
* @param Metadata $metadata
6464
* @param SearchResultFactory $searchResultFactory
65-
* @param JoinProcessorInterface $joinProcessor
65+
* @param JoinProcessorInterface|null $joinProcessor
6666
*/
6767
public function __construct(
6868
Metadata $metadata,
6969
SearchResultFactory $searchResultFactory,
70-
JoinProcessorInterface $joinProcessor
70+
JoinProcessorInterface $joinProcessor = null
7171
) {
7272
$this->metadata = $metadata;
7373
$this->searchResultFactory = $searchResultFactory;

0 commit comments

Comments
 (0)