Code Duplication    Length = 9-10 lines in 2 locations

src/Request/PostMessageRequest.php 2 locations

@@ 290-298 (lines=9) @@
287
     *
288
     * @return array
289
     */
290
    public static function getClasses() : array
291
    {
292
        return [
293
            self::CLASS_0 => self::CLASS_0,
294
            self::CLASS_1 => self::CLASS_1,
295
            self::CLASS_2 => self::CLASS_2,
296
            self::CLASS_3 => self::CLASS_3
297
        ];
298
    }
299
300
    /**
301
     * Returns the possible formats for the payload
@@ 305-314 (lines=10) @@
302
     *
303
     * @return array
304
     */
305
    public static function getFormats() : array
306
    {
307
        return [
308
            self::FORMAT_GSM => self::FORMAT_GSM,
309
            self::FORMAT_UNICODE => self::FORMAT_UNICODE,
310
            self::FORMAT_BINARY => self::FORMAT_BINARY,
311
            self::FORMAT_WAPPUSH => self::FORMAT_WAPPUSH,
312
            self::FORMAT_MMS => self::FORMAT_MMS
313
        ];
314
    }
315
316
    /*
317
     * Getters / Setters