Code Duplication    Length = 9-9 lines in 2 locations

src/API/cCpyAccount.php 1 location

@@ 66-74 (lines=9) @@
63
     * @param int $ID_TaxExemption
64
     * @param TInvoiceBillingType $InvoiceBillingType
65
     */
66
    public function __construct(\DateTime $CreationDate, $IsAR, $IsCashOnly, $ID_CreditLimit, $ID_TaxExemption, $InvoiceBillingType)
67
    {
68
        $this->CreationDate = $CreationDate->format(\DateTime::ATOM);
69
        $this->IsAR = $IsAR;
70
        $this->IsCashOnly = $IsCashOnly;
71
        $this->ID_CreditLimit = $ID_CreditLimit;
72
        $this->ID_TaxExemption = $ID_TaxExemption;
73
        $this->InvoiceBillingType = $InvoiceBillingType;
74
    }
75
76
    /**
77
     * @return \DateTime

src/API/cMemberAccount.php 1 location

@@ 71-79 (lines=9) @@
68
     * @param int $ID_TaxExemption
69
     * @param TInvoiceBillingType $InvoiceBillingType
70
     */
71
    public function __construct(\DateTime $CreationDate, $IsAR, $IsCashOnly, $ID_CreditLimit, $ID_TaxExemption, $InvoiceBillingType)
72
    {
73
        $this->CreationDate = $CreationDate->format(\DateTime::ATOM);
74
        $this->IsAR = $IsAR;
75
        $this->IsCashOnly = $IsCashOnly;
76
        $this->ID_CreditLimit = $ID_CreditLimit;
77
        $this->ID_TaxExemption = $ID_TaxExemption;
78
        $this->InvoiceBillingType = $InvoiceBillingType;
79
    }
80
81
    /**
82
     * @return \DateTime