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

Commit

Permalink
fix: Class path for call different items classes
Browse files Browse the repository at this point in the history
  • Loading branch information
joserick committed Apr 13, 2019
1 parent 0089572 commit c96e2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Joserick/Plex/Server/Library/ItemAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ protected function buildAllLeavesEndpoint()
public static function factory($type, $name, $address, $port, $token)
{
$class = sprintf(
'Plex_Server_Library_Item_%s',
__NAMESPACE__.'\Item\Plex_Server_Library_Item_%s',
ucfirst($type)
);

Expand Down

0 comments on commit c96e2df

Please sign in to comment.