Code Duplication    Length = 13-13 lines in 2 locations

src/cli/Database/Base/Channel.php 1 location

@@ 1541-1553 (lines=13) @@
1538
     *
1539
     * @param      boolean $deep Whether to also clear the references on all referrer objects.
1540
     */
1541
    public function clearAllReferences($deep = false)
1542
    {
1543
        if ($deep) {
1544
            if ($this->collSubscriptions) {
1545
                foreach ($this->collSubscriptions as $o) {
1546
                    $o->clearAllReferences($deep);
1547
                }
1548
            }
1549
        } // if ($deep)
1550
1551
        $this->collSubscriptions = null;
1552
        $this->aInstance = null;
1553
    }
1554
1555
    /**
1556
     * Return the string representation of this object

src/cli/Database/Base/Input.php 1 location

@@ 1791-1803 (lines=13) @@
1788
     *
1789
     * @param      boolean $deep Whether to also clear the references on all referrer objects.
1790
     */
1791
    public function clearAllReferences($deep = false)
1792
    {
1793
        if ($deep) {
1794
            if ($this->collSubscriptions) {
1795
                foreach ($this->collSubscriptions as $o) {
1796
                    $o->clearAllReferences($deep);
1797
                }
1798
            }
1799
        } // if ($deep)
1800
1801
        $this->collSubscriptions = null;
1802
        $this->aInstance = null;
1803
    }
1804
1805
    /**
1806
     * Return the string representation of this object