Code Duplication    Length = 8-8 lines in 2 locations

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

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

@@ 433-440 (lines=8) @@
430
     * @param  string $value
431
     * @return string
432
     */
433
    protected function wrapValue($value)
434
    {
435
        if ($this->isReserved($value)) {
436
            return parent::wrapValue($value);
437
        }
438
439
        return $value !== '*' ? sprintf($this->wrapper, $value) : $value;
440
    }
441
}
442