src/Translator/HttpTranslator.php
private function computeEndpoint(): UrlInterface
    {
        if (!$this->transactions->isOpened()) {
            return Url::fromString('/db/data/transaction/commit');
        }

        return $this->transactions->current()->endpoint();
    }
private function computeEndpoint(): UrlInterface
    {
        if (!$this->transactions->isOpened()) {
            return Url::fromString('/db/data/transaction/commit');
        }

        return $this->transactions->current()->endpoint();
    }
private function computeEndpoint ( ) : UrlInterface { if ( ! $ this -> transactions -> isOpened ( ) ) { return Url :: fromString ( '/db/data/transaction/commit' ) ; } return $ this -> transactions -> current ( ) -> endpoint ( ) ; }
Determine the appropriate endpoint based on the transactions
Determine the appropriate endpoint based on the transactions