Code Duplication    Length = 5-6 lines in 2 locations

src/Fwlib/Bridge/Adodb.php 1 location

@@ 754-759 (lines=6) @@
751
752
            // @codeCoverageIgnoreStart
753
            // Fix sybase display timestamp column as varbinary
754
            if ($this->isDbSybase()) {
755
                $s = $this->getMetaTimestamp($table);
756
                if (!empty($s)) {
757
                    $this->metaColumn[$table][$s]->type = 'timestamp';
758
                }
759
            }
760
            // @codeCoverageIgnoreEnd
761
        }
762

class/adodb.php 1 location

@@ 658-662 (lines=5) @@
655
				unset($this->aMetaColumn[$table][$c]);
656
			}
657
			// Fix: sybase db display timestamp column as varbinary
658
			if ($this->IsDbSybase()) {
659
				$s = $this->FindColTs($table);
660
				if (!empty($s))
661
					$this->aMetaColumn[$table][$s]->type = 'timestamp';
662
			}
663
			//print_r($this->aMetaColumn);
664
		}
665
		return $this->aMetaColumn[$table];