src/Behat/Behat/HelperContainer/Call/Filter/ServicesResolver.php
private function repackageCallIfNewArguments(Call $call, array $arguments)
    {
        if ($arguments === $call->getArguments()) {
            return $call;
        }

        return $this->repackageCallWithNewArguments($call, $arguments);
    }
private function repackageCallIfNewArguments(Call $call, array $arguments)
    {
        if ($arguments === $call->getArguments()) {
            return $call;
        }

        return $this->repackageCallWithNewArguments($call, $arguments);
    }
private function repackageCallIfNewArguments ( Call $ call , array $ arguments ) { if ( $ arguments === $ call -> getArguments ( ) ) { return $ call ; } return $ this -> repackageCallWithNewArguments ( $ call , $ arguments ) ; }
Repackages old calls with new arguments, but only if two differ.

@param Call $call
@param array $arguments

@return Call

@throws UnsupportedCallException if given call is not DefinitionCall or TransformationCall
Repackages old calls with new arguments but only if two differ .