Code Duplication    Length = 8-8 lines in 2 locations

src/Oci8/Schema/Grammars/OracleGrammar.php 1 location

@@ 721-728 (lines=8) @@
718
     * @param  string $value
719
     * @return string
720
     */
721
    protected function wrapValue($value)
722
    {
723
        if ($this->isReserved($value)) {
724
            return parent::wrapValue($value);
725
        }
726
727
        return $value !== '*' ? sprintf($this->wrapper, $value) : $value;
728
    }
729
}
730

src/Oci8/Query/Grammars/OracleGrammar.php 1 location

@@ 448-455 (lines=8) @@
445
     * @param  string $value
446
     * @return string
447
     */
448
    protected function wrapValue($value)
449
    {
450
        if ($this->isReserved($value)) {
451
            return parent::wrapValue($value);
452
        }
453
454
        return $value !== '*' ? sprintf($this->wrapper, $value) : $value;
455
    }
456
457
    /**
458
     * Compile the "from" portion of the query.