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

@@ 734-741 (lines=8) @@
731
     * @param  string $value
732
     * @return string
733
     */
734
    protected function wrapValue($value)
735
    {
736
        if ($this->isReserved($value)) {
737
            return parent::wrapValue($value);
738
        }
739
740
        return $value !== '*' ? sprintf($this->wrapper, $value) : $value;
741
    }
742
}
743