src/Smalot/Magento/RemoteAdapter.php
/**
     * @param MultiCallQueueInterface $queue
     * @param array                   $results
     */
@param MultiCallQueueInterface $queue
@param array                   $results
@param MultiCallQueueInterface $queue @param array $results
protected function handleCallbacks(MultiCallQueueInterface $queue, $results)
    {
        foreach ($queue as $position => $item) {
            $callback = $item['callback'];
            if (is_callable($callback)) {
                call_user_func($callback, $results[$position]);
            }
        }
    }
protected function handleCallbacks ( MultiCallQueueInterface $ queue , $ results ) { foreach ( $ queue as $ position => $ item ) { $ callback = $ item [ 'callback' ] ; if ( is_callable ( $ callback ) ) { call_user_func ( $ callback , $ results [ $ position ] ) ; } } }
@param MultiCallQueueInterface $queue
 @param array                   $results
@param MultiCallQueueInterface $queue @param array $results