Code Duplication    Length = 19-21 lines in 2 locations

command/CreateMonthBillCommand.php 1 location

@@ 60-78 (lines=19) @@
57
     * @param int    $year
58
     * @param int    $month
59
     */
60
    public function __construct(
61
        $billingType,
62
        $billType,
63
        $billingCondition,
64
        $modelDocument,
65
        $publicNote,
66
        $privateNote,
67
        $year,
68
        $month
69
    ) {
70
        $this->billingType = $billingType;
71
        $this->billType = $billType;
72
        $this->billingCondition = $billingCondition;
73
        $this->modelDocument = $modelDocument;
74
        $this->publicNote = $publicNote;
75
        $this->privateNote = $privateNote;
76
        $this->year = $year;
77
        $this->month = $month;
78
    }
79
80
    /**
81
     * @return int

command/CreateReceiverMonthBillCommand.php 1 location

@@ 67-87 (lines=21) @@
64
     * @param int               $year
65
     * @param int               $month
66
     */
67
    public function __construct(
68
        MonthlyFlightBill $monthlyFlightBill,
69
        $billingType,
70
        $billType,
71
        $billingCondition,
72
        $modelDocument,
73
        $publicNote,
74
        $privateNote,
75
        $year,
76
        $month
77
    ) {
78
        $this->monthlyFlightBill = $monthlyFlightBill;
79
        $this->billingType = $billingType;
80
        $this->billType = $billType;
81
        $this->billingCondition = $billingCondition;
82
        $this->modelDocument = $modelDocument;
83
        $this->publicNote = $publicNote;
84
        $this->privateNote = $privateNote;
85
        $this->year = $year;
86
        $this->month = $month;
87
    }
88
89
90
    /**