Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Commit f88585a

Browse files
committed
feat: Added namespace, classes to use and spelling correction
1 parent 1125b4b commit f88585a

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

src/Joserick/Plex/Server/Library/Item/Album.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
namespace Joserick\Plex\Server\Library\Item;
4+
5+
use Joserick\Plex\Server\Library\Plex_Server_Library_ItemParentAbstract;
6+
37
/**
48
* Plex Library Album
59
*
@@ -55,7 +59,7 @@ public function setAttributes($attribute)
5559
}
5660

5761
/**
58-
* Returns an array of all the track objects for the intstantiated album.
62+
* Returns an array of all the track objects for the instantiated album.
5963
*
6064
* @uses Plex_Server_Library::getItems()
6165
* @uses Plex_Server_Library_ItemAbstract::buildChildrenEndpoint()

src/Joserick/Plex/Server/Library/Item/Season.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
namespace Joserick\Plex\Server\Library\Item;
4+
5+
use Joserick\Plex\Server\Library\Plex_Server_Library_ItemParentAbstract;
6+
37
/**
48
* Plex Library Season
59
*
@@ -55,7 +59,7 @@ public function setAttributes($attribute)
5559
}
5660

5761
/**
58-
* Returns an array of all the episode objects for the intstantiated season.
62+
* Returns an array of all the episode objects for the instantiated season.
5963
*
6064
* @uses Plex_Server_Library::getItems()
6165
* @uses Plex_Server_Library_ItemAbstract::buildChildrenEndpoint()

src/Joserick/Plex/Server/Library/Item/Show.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
namespace Joserick\Plex\Server\Library\Item;
4+
5+
use Joserick\Plex\Server\Library\Plex_Server_Library_ItemGrandparentAbstract;
6+
37
/**
48
* Plex Library Show
59
*
@@ -55,7 +59,7 @@ public function setAttributes($attribute)
5559
}
5660

5761
/**
58-
* Returns an array of all the season objects for the intstantiated show.
62+
* Returns an array of all the season objects for the instantiated show.
5963
*
6064
* @uses Plex_Server_Library::getItems()
6165
* @uses Plex_Server_Library_ItemAbstract::buildChildrenEndpoint()
@@ -91,7 +95,7 @@ public function getSeason($polymorphicData)
9195
* @uses Plex_Server_Library::getItems()
9296
* @uses Plex_Server_Library_ItemAbstract::buildAllLeavesEndpoint()
9397
*
94-
* @ return Plex_Server_Library_Item_Episode[] Array of all the episodes for
98+
* @return Plex_Server_Library_Item_Episode[] Array of all the episodes for
9599
* a given show.
96100
*/
97101
public function getAllEpisodes()

0 commit comments

Comments
 (0)