Code Duplication    Length = 4-4 lines in 2 locations

src/Client.php 2 locations

@@ 186-189 (lines=4) @@
183
            unset($params['subject']);
184
        }
185
186
        if (empty($params['to']) === false) {
187
            $params['DEST'] = $params['to'];
188
            unset($params['to']);
189
        }
190
191
        if (empty($params['text']) === false) {
192
            $params['MSG'] = $params['text'];
@@ 191-194 (lines=4) @@
188
            unset($params['to']);
189
        }
190
191
        if (empty($params['text']) === false) {
192
            $params['MSG'] = $params['text'];
193
            unset($params['text']);
194
        }
195
196
        if (empty($params['sendTime']) === false) {
197
            $params['ST'] = empty($params['sendTime']) === false ? Carbon::parse($params['sendTime'])->format('YmdHis') : null;