Skip to content

Commit f767f7b

Browse files
committed
magento-engcom/magento2ce#2150: Fixes according to failed tests
1 parent 16b0e31 commit f767f7b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Search/Test/Unit/Model/SynonymAnalyzerTest.php

Lines changed: 2 additions & 0 deletions
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\Search\Test\Unit\Model;
79

810
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;

app/code/Magento/Swatches/Model/ResourceModel/Swatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function saveDefaultSwatchOption($id, $defaultValue)
4545
* @param int $type
4646
* @throws \Magento\Framework\Exception\LocalizedException
4747
*/
48-
public function clearSwatchOptionByOptionIdAndType(array $optionIDs, int $type = null)
48+
public function clearSwatchOptionByOptionIdAndType($optionIDs, $type = null)
4949
{
5050
if (count($optionIDs)) {
5151
foreach ($optionIDs as $optionId) {

0 commit comments

Comments
 (0)