Conditions | 1 |
Paths | 1 |
Total Lines | 48 |
Code Lines | 45 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | public function getCategoryMap() |
||
32 | { |
||
33 | return [ |
||
34 | 'film' => 1, |
||
35 | 'animation' => 1, |
||
36 | 'autos' => 2, |
||
37 | 'vehicles' => 2, |
||
38 | 'music' => 10, |
||
39 | 'pets' => 15, |
||
40 | 'animals' => 15, |
||
41 | 'sports' => 17, |
||
42 | 'clips' => 18, |
||
43 | 'travel' => 19, |
||
44 | 'events' => 19, |
||
45 | 'gaming' => 20, |
||
46 | 'videoblogging' => 21, |
||
47 | 'people' => 22, |
||
48 | 'blogs' => 22, |
||
49 | 'comedians' => 23, |
||
50 | 'entertainment' => 24, |
||
51 | 'news' => 25, |
||
52 | 'politics' => 25, |
||
53 | 'howto' => 26, |
||
54 | 'style' => 26, |
||
55 | 'education' => 27, |
||
56 | 'science' => 28, |
||
57 | 'technology' => 28, |
||
58 | 'nonprofits' => 29, |
||
59 | 'activism' => 29, |
||
60 | 'movies' => 30, |
||
61 | 'anime' => 31, |
||
62 | 'action' => 32, |
||
63 | 'adventure' => 32, |
||
64 | 'classics' => 33, |
||
65 | 'comedy' => 34, |
||
66 | 'documentary' => 35, |
||
67 | 'drama' => 36, |
||
68 | 'family' => 37, |
||
69 | 'foreign' => 38, |
||
70 | 'horror' => 39, |
||
71 | 'sci-fi' => 40, |
||
72 | 'fantasy' => 40, |
||
73 | 'thriller' => 41, |
||
74 | 'shorts' => 42, |
||
75 | 'shows' => 43, |
||
76 | 'trailers' => 44, |
||
77 | ]; |
||
78 | } |
||
79 | } |
||
80 |