Code Duplication    Length = 15-15 lines in 2 locations

src/API/MAL.php 2 locations

@@ 40-54 (lines=15) @@
37
		KAWS::PLAN_TO_WATCH => AnimeWatchingStatus::PLAN_TO_WATCH
38
	];
39
40
	public static function getIdToWatchingStatusMap()
41
	{
42
		return [
43
			1 => AnimeWatchingStatus::WATCHING,
44
			2 => AnimeWatchingStatus::COMPLETED,
45
			3 => AnimeWatchingStatus::ON_HOLD,
46
			4 => AnimeWatchingStatus::DROPPED,
47
			6 => AnimeWatchingStatus::PLAN_TO_WATCH,
48
			'watching' => AnimeWatchingStatus::WATCHING,
49
			'completed' => AnimeWatchingStatus::COMPLETED,
50
			'onhold' => AnimeWatchingStatus::ON_HOLD,
51
			'dropped' => AnimeWatchingStatus::DROPPED,
52
			'plantowatch' => AnimeWatchingStatus::PLAN_TO_WATCH
53
		];
54
	}
55
56
	public static function getIdToReadingStatusMap()
57
	{
@@ 56-70 (lines=15) @@
53
		];
54
	}
55
56
	public static function getIdToReadingStatusMap()
57
	{
58
		return [
59
			1 => MangaReadingStatus::READING,
60
			2 => MangaReadingStatus::COMPLETED,
61
			3 => MangaReadingStatus::ON_HOLD,
62
			4 => MangaReadingStatus::DROPPED,
63
			6 => MangaReadingStatus::PLAN_TO_READ,
64
			'reading' => MangaReadingStatus::READING,
65
			'completed' => MangaReadingStatus::COMPLETED,
66
			'onhold' => MangaReadingStatus::ON_HOLD,
67
			'dropped' => MangaReadingStatus::DROPPED,
68
			'plantoread' => MangaReadingStatus::PLAN_TO_WATCH
69
		];
70
	}
71
}