Code Duplication    Length = 10-10 lines in 2 locations

src/API/Kitsu.php 2 locations

@@ 39-48 (lines=10) @@
36
	 *
37
	 * @return array
38
	 */
39
	public static function getStatusToSelectMap()
40
	{
41
		return [
42
			AnimeWatchingStatus::WATCHING => 'Currently Watching',
43
			AnimeWatchingStatus::PLAN_TO_WATCH => 'Plan to Watch',
44
			AnimeWatchingStatus::COMPLETED => 'Completed',
45
			AnimeWatchingStatus::ON_HOLD => 'On Hold',
46
			AnimeWatchingStatus::DROPPED => 'Dropped'
47
		];
48
	}
49
50
	/**
51
	 * Map of Kitsu Manga status to label for select menus
@@ 55-64 (lines=10) @@
52
	 *
53
	 * @return array
54
	 */
55
	public static function getStatusToMangaSelectMap()
56
	{
57
		return [
58
			MangaReadingStatus::READING => 'Currently Reading',
59
			MangaReadingStatus::PLAN_TO_READ => 'Plan to Read',
60
			MangaReadingStatus::COMPLETED => 'Completed',
61
			MangaReadingStatus::ON_HOLD => 'On Hold',
62
			MangaReadingStatus::DROPPED => 'Dropped'
63
		];
64
	}
65
66
	/**
67
	 * Determine whether an anime is airing, finished airing, or has not yet aired