Code Duplication    Length = 9-9 lines in 2 locations

src/Slack/MessageBuilder/MessageFactory.php 2 locations

@@ 138-146 (lines=9) @@
135
        return new MultiSelectExternalElement($placeholder, $actionId, $minQueryLength, $initialOption, $confirmDialog);
136
    }
137
138
    public function elementMultiSelectStatic(
139
        string $placeholder,
140
        string $actionId,
141
        OptionObject $initialOption = null,
142
        ConfirmationDialogObject $confirmDialog = null,
143
        OptionObject ...$options
144
    ): MultiSelectStaticElement {
145
        return new MultiSelectStaticElement($placeholder, $actionId, $initialOption, $confirmDialog, $options);
146
    }
147
148
    public function elementMultiSelectUser(
149
        string $placeholder,
@@ 193-201 (lines=9) @@
190
        return new SelectExternalElement($placeholder, $actionId, $minQueryLength, $initialOption, $confirmDialog);
191
    }
192
193
    public function elementSelectStatic(
194
        string $placeholder,
195
        string $actionId,
196
        OptionObject $initialOption = null,
197
        ConfirmationDialogObject $confirmDialog = null,
198
        OptionObject ...$options
199
    ): SelectStaticElement {
200
        return new SelectStaticElement($placeholder, $actionId, $initialOption, $confirmDialog, $options);
201
    }
202
203
    public function elementSelectUserText(
204
        string $placeholder,