Code Duplication    Length = 8-8 lines in 2 locations

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

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

@@ 741-748 (lines=8) @@
738
     * @param  string $value
739
     * @return string
740
     */
741
    protected function wrapValue($value)
742
    {
743
        if ($this->isReserved($value)) {
744
            return parent::wrapValue($value);
745
        }
746
747
        return $value !== '*' ? sprintf($this->wrapper, $value) : $value;
748
    }
749
}
750