Skip to content

Commit 9c9172f

Browse files
author
Oleksandr Dubovyk
committed
MC-20212: [On premise] Data loss due to core cron job called sales_clean_quotes
- small changes
1 parent b00b336 commit 9c9172f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Sales/Model/ResourceModel/Collection/ExpiredQuotesCollection.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Sales\Model\ResourceModel\Collection;
79

810
use Magento\Framework\App\Config\ScopeConfigInterface;
@@ -57,7 +59,7 @@ public function __construct(
5759
* @param StoreInterface $store
5860
* @return Collection
5961
*/
60-
public function getExpiredQuotes(StoreInterface $store)
62+
public function getExpiredQuotes(StoreInterface $store): Collection
6163
{
6264
$lifetime = $this->config->getValue(
6365
$this->quoteLifetime,

0 commit comments

Comments
 (0)