Code Duplication    Length = 5-5 lines in 2 locations

src/Oci8/Query/Grammars/OracleGrammar.php 2 locations

@@ 301-305 (lines=5) @@
298
        // If the query has any "join" clauses, we will setup the joins on the builder
299
        // and compile them so we can attach them to this update, as update queries
300
        // can get join statements to attach to other tables when they're needed.
301
        if (isset($query->joins)) {
302
            $joins = ' ' . $this->compileJoins($query, $query->joins);
303
        } else {
304
            $joins = '';
305
        }
306
307
        // Of course, update queries may also be constrained by where clauses so we'll
308
        // need to compile the where clauses and attach it to the query so only the
@@ 355-359 (lines=5) @@
352
        // If the query has any "join" clauses, we will setup the joins on the builder
353
        // and compile them so we can attach them to this update, as update queries
354
        // can get join statements to attach to other tables when they're needed.
355
        if (isset($query->joins)) {
356
            $joins = ' ' . $this->compileJoins($query, $query->joins);
357
        } else {
358
            $joins = '';
359
        }
360
361
        // Of course, update queries may also be constrained by where clauses so we'll
362
        // need to compile the where clauses and attach it to the query so only the