Skip to content

Commit a478f9d

Browse files
coderimusdimonovp
authored andcommitted
Hotfix: add missed count()
1 parent b4eede9 commit a478f9d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Config/Test/Unit/Model/Config/Structure/Element/Dependency

1 file changed

+1
-1
lines changed

app/code/Magento/Config/Test/Unit/Model/Config/Structure/Element/Dependency/MapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function testGetDependenciesWhenDependentIsInvisible($isValueSatisfy)
9898
{
9999
$expected = [];
100100
$rowData = array_values($this->_testData);
101-
$count = $this->_testData;
101+
$count = count($this->_testData);
102102
for ($i = 0; $i < $count; ++$i) {
103103
$data = $rowData[$i];
104104
$dependentPath = 'some path ' . $i;

0 commit comments

Comments
 (0)