Code Duplication    Length = 9-9 lines in 2 locations

app/Models/Task/Base/Task.php 1 location

@@ 1057-1065 (lines=9) @@
1054
     * @return \Models\Task\Task Clone of current object.
1055
     * @throws PropelException
1056
     */
1057
    public function copy($deepCopy = false)
1058
    {
1059
        // we use get_class(), because this might be a subclass
1060
        $clazz = get_class($this);
1061
        $copyObj = new $clazz();
1062
        $this->copyInto($copyObj, $deepCopy);
1063
1064
        return $copyObj;
1065
    }
1066
1067
    /**
1068
     * Clears the current object, sets all attributes to their default values and removes

app/Models/User/Base/User.php 1 location

@@ 1320-1328 (lines=9) @@
1317
     * @return \Models\User\User Clone of current object.
1318
     * @throws PropelException
1319
     */
1320
    public function copy($deepCopy = false)
1321
    {
1322
        // we use get_class(), because this might be a subclass
1323
        $clazz = get_class($this);
1324
        $copyObj = new $clazz();
1325
        $this->copyInto($copyObj, $deepCopy);
1326
1327
        return $copyObj;
1328
    }
1329
1330
    /**
1331
     * Clears the current object, sets all attributes to their default values and removes