Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 385-392 (lines=8) @@
382
     * @param  string $value
383
     * @return string
384
     */
385
    protected function wrapValue($value)
386
    {
387
        if ($this->isReserved($value)) {
388
            return parent::wrapValue($value);
389
        }
390
391
        return $value !== '*' ? sprintf($this->wrapper, $value) : $value;
392
    }
393
394
    /**
395
     * Compile the "from" portion of the query.

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