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

@@ 394-401 (lines=8) @@
391
     * @param  string $value
392
     * @return string
393
     */
394
    protected function wrapValue($value)
395
    {
396
        if ($this->isReserved($value)) {
397
            return parent::wrapValue($value);
398
        }
399
400
        return $value !== '*' ? sprintf($this->wrapper, $value) : $value;
401
    }
402
403
    /**
404
     * Compile the "from" portion of the query.