This repository was archived by the owner on Jun 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +25
-8
lines changed
src/Joserick/Plex/Server/Library/Section Expand file tree Collapse file tree 3 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ namespace Joserick \Plex \Server \Library \Section ;
4
+
5
+ use Joserick \Plex \Server \Library \Plex_Server_Library_SectionAbstract ;
6
+ use Joserick \Plex \Server \Library \Item \Plex_Server_Library_Item_Album ;
7
+ use Joserick \Plex \Server \Library \Item \Plex_Server_Library_Item_Artist ;
8
+
3
9
/**
4
10
* Plex Server Library Artist Section
5
11
*
@@ -62,7 +68,7 @@ public function getAllArtists()
62
68
}
63
69
64
70
/**
65
- * Returns all the albusm for the given section.
71
+ * Returns all the albums for the given section.
66
72
*
67
73
* @uses Plex_Server_Library::getItems()
68
74
* @uses Plex_Server_Library_SectionAbstract::buildEndpoint()
@@ -218,7 +224,7 @@ public function searchTracks($query)
218
224
*
219
225
* @uses Plex_Server_Library_SectionAbstract::getPolymorphicItem()
220
226
*
221
- * @retrun Plex_Server_Library_Item_Artist A Plex library artist object.
227
+ * @return Plex_Server_Library_Item_Artist A Plex library artist object.
222
228
*/
223
229
public function getArtist ($ polymorphicData )
224
230
{
@@ -234,7 +240,7 @@ public function getArtist($polymorphicData)
234
240
*
235
241
* @uses Plex_Server_Library_SectionAbstract::getPolymorphicItem()
236
242
*
237
- * @retrun Plex_Server_Library_Item_Track A Plex library track object.
243
+ * @return Plex_Server_Library_Item_Track A Plex library track object.
238
244
*/
239
245
public function getTrack ($ polymorphicData )
240
246
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ namespace Joserick \Plex \Server \Library \Section ;
4
+
5
+ use Joserick \Plex \Server \Library \Item \Plex_Server_Library_Item_Movie ;
6
+ use Joserick \Plex \Server \Library \Plex_Server_Library_SectionAbstract ;
7
+
3
8
/**
4
9
* Plex Server Library Movie Section
5
10
*
@@ -413,7 +418,7 @@ public function getResolutions()
413
418
}
414
419
415
420
/**
416
- * Searches moview titles for the passed query and returns the movies that
421
+ * Searches movie titles for the passed query and returns the movies that
417
422
* match.
418
423
*
419
424
* @param string $query The search term against which the movies will be
@@ -440,11 +445,11 @@ public function searchMovies($query)
440
445
*
441
446
* @param integer|string $polymorphicData Either a rating key, a key, or a
442
447
* title for an exact title match that will be used to retrieve a single
443
- * mvoie .
448
+ * movie .
444
449
*
445
450
* @uses Plex_Server_Library_SectionAbstract::getPolymorphicItem()
446
451
*
447
- * @retrun Plex_Server_Library_Item_Movie A Plex library movie object.
452
+ * @return Plex_Server_Library_Item_Movie A Plex library movie object.
448
453
*/
449
454
public function getMovie ($ polymorphicData )
450
455
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ namespace Joserick \Plex \Server \Library \Section ;
4
+
5
+ use Joserick \Plex \Server \Library \Plex_Server_Library_SectionAbstract ;
6
+ use Joserick \Plex \Server \Library \Item \Plex_Server_Library_Item_Show ;
7
+ use Joserick \Plex \Server \Library \Item \Plex_Server_Library_Item_Episode ;
8
+
3
9
/**
4
10
* Plex Server Library Show Section
5
11
*
@@ -302,7 +308,7 @@ public function searchEpisodes($query)
302
308
*
303
309
* @uses Plex_Server_Library_SectionAbstract::getPolymorphicItem()
304
310
*
305
- * @retrun Plex_Server_Library_Item_Show A Plex library show object.
311
+ * @return Plex_Server_Library_Item_Show A Plex library show object.
306
312
*/
307
313
public function getShow ($ polymorphicData )
308
314
{
@@ -318,7 +324,7 @@ public function getShow($polymorphicData)
318
324
*
319
325
* @uses Plex_Server_Library_SectionAbstract::getPolymorphicItem()
320
326
*
321
- * @retrun Plex_Server_Library_Item_Episode A Plex library episode object.
327
+ * @return Plex_Server_Library_Item_Episode A Plex library episode object.
322
328
*/
323
329
public function getEpisode ($ polymorphicData )
324
330
{
You can’t perform that action at this time.
0 commit comments