Code Duplication    Length = 9-9 lines in 2 locations

lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php 2 locations

@@ 187-195 (lines=9) @@
184
    /**
185
     * {@inheritdoc}
186
     */
187
    public function commit()
188
    {
189
        if (!oci_commit($this->dbh)) {
190
            throw OCI8Exception::fromErrorInfo($this->errorInfo());
191
        }
192
        $this->executeMode = OCI_COMMIT_ON_SUCCESS;
193
194
        return true;
195
    }
196
197
    /**
198
     * {@inheritdoc}
@@ 200-208 (lines=9) @@
197
    /**
198
     * {@inheritdoc}
199
     */
200
    public function rollBack()
201
    {
202
        if (!oci_rollback($this->dbh)) {
203
            throw OCI8Exception::fromErrorInfo($this->errorInfo());
204
        }
205
        $this->executeMode = OCI_COMMIT_ON_SUCCESS;
206
207
        return true;
208
    }
209
210
    /**
211
     * {@inheritdoc}