Skip to content

Commit e9343d9

Browse files
committed
MC-42313: Some of the preg_match function calls fails on PHP 7.3 installed on Redhat/CentOS
1 parent 8099a33 commit e9343d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Api/AbstractSimpleObjectBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function _set($key, $value)
6868
protected function _getDataObjectType()
6969
{
7070
$dataObjectType = '';
71-
$pattern = '/(?<data_object>.*?)Builder(\\Interceptor)?/';
71+
$pattern = '/(?<data_object>.*?)Builder(\\\\Interceptor)?/';
7272
if (preg_match($pattern, get_class($this), $match)) {
7373
$dataObjectType = $match['data_object'];
7474
}

0 commit comments

Comments
 (0)