Skip to content

Commit eca4e74

Browse files
committed
Merge remote-tracking branch 'origin/MC-22610' into 2.3-develop-pr86
2 parents be9908e + b6c681b commit eca4e74

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

app/code/Magento/Rule/Model/Condition/AbstractCondition.php

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

87
namespace Magento\Rule\Model\Condition;
98

app/code/Magento/Rule/Test/Unit/Model/Condition/AbstractConditionTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ public function validateAttributeDataProvider()
5555
['0', '==', 1, false],
5656
['1', '==', 1, true],
5757
['x', '==', 'x', true],
58-
['x', '==', '0', false],
58+
['x', '==', 0, false],
5959

6060
[1, '!=', 1, false],
6161
[0, '!=', 1, true],
6262
['0', '!=', 1, true],
6363
['1', '!=', 1, false],
6464
['x', '!=', 'x', false],
65-
['x', '!=', '0', true],
65+
['x', '!=', 0, true],
6666

6767
[1, '==', [1], true],
6868
[1, '!=', [1], false],
@@ -164,15 +164,15 @@ public function validateAttributeArrayInputTypeDataProvider()
164164

165165
[[1, 2, 3], '{}', '1', true, 'grid'],
166166
[[1, 2, 3], '{}', '8', false, 'grid'],
167-
[[1, 2, 3], '{}', '5', false, 'grid'],
167+
[[1, 2, 3], '{}', 5, false, 'grid'],
168168
[[1, 2, 3], '{}', [2, 3, 4], true, 'grid'],
169169
[[1, 2, 3], '{}', [4], false, 'grid'],
170170
[[3], '{}', [], false, 'grid'],
171171
[1, '{}', 1, false, 'grid'],
172172
[1, '!{}', [1, 2, 3], false, 'grid'],
173173
[[1], '{}', null, false, 'grid'],
174-
['null', '{}', 'null', true, 'input'],
175-
['null', '!{}', 'null', false, 'input'],
174+
[null, '{}', null, true, 'input'],
175+
[null, '!{}', null, false, 'input'],
176176
[null, '{}', [1], false, 'input'],
177177

178178
[[1, 2, 3], '()', 1, true, 'select'],

0 commit comments

Comments
 (0)