Skip to content

Commit f0e0d1c

Browse files
committed
Do not use splat operator as we use associative arrays
1 parent 7b05c05 commit f0e0d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/AsynchronousOperations/Model/OperationProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private function executeHandler($callback, $entityParams)
187187
'output_data' => null
188188
];
189189
try {
190-
$result['output_data'] = $callback(...$entityParams);
190+
$result['output_data'] = call_user_func_array($callback, $entityParams);
191191
$result['messages'][] = sprintf('Service execution success %s::%s', get_class($callback[0]), $callback[1]);
192192
} catch (\Zend_Db_Adapter_Exception $e) {
193193
$this->logger->critical($e->getMessage());

0 commit comments

Comments
 (0)