Code Duplication    Length = 8-8 lines in 2 locations

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
     * Return the schema prefix

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

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