Code Duplication    Length = 9-9 lines in 3 locations

packages/core/src/Models/Task/Base/Task.php 1 location

@@ 1057-1065 (lines=9) @@
1054
     * @return \Core\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

packages/selfprice/src/Models/Selfprice/Base/Selfprice.php 1 location

@@ 1097-1105 (lines=9) @@
1094
     * @return \Selfprice\Models\Selfprice\Selfprice Clone of current object.
1095
     * @throws PropelException
1096
     */
1097
    public function copy($deepCopy = false)
1098
    {
1099
        // we use get_class(), because this might be a subclass
1100
        $clazz = get_class($this);
1101
        $copyObj = new $clazz();
1102
        $this->copyInto($copyObj, $deepCopy);
1103
1104
        return $copyObj;
1105
    }
1106
1107
    /**
1108
     * Clears the current object, sets all attributes to their default values and removes

packages/core/src/Models/User/Base/User.php 1 location

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