Skip to content

Commit 07f73e8

Browse files
committed
Fixed static test issues
1 parent 3e308da commit 07f73e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Validator/DataObject.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public function isValid($entity)
6969
$this->_messages[] = array_values($validator->getMessages());
7070
}
7171
}
72-
return empty(array_merge([], ...$this->_messages));
72+
$this->_messages = array_merge([], ...$this->_messages);
73+
return empty($this->_messages);
7374
}
7475

7576
/**

0 commit comments

Comments
 (0)