Skip to content

Commit 7d4ee3e

Browse files
committed
Fixed the broken build. Restored the $data string instead of pushing a fixed array into the constructor of the Property class.
1 parent 62b3a28 commit 7d4ee3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ protected function _createConstraint(array $data)
258258
$result = new \Magento\Framework\Validator\Constraint\Property(
259259
$validator,
260260
$data['property'],
261-
['alias']
261+
$data['alias']
262262
);
263263
} else {
264264
$result = $this->_constraintFactory->create(['validator' => $validator, 'alias' => $data['alias']]);

0 commit comments

Comments
 (0)