From c29a4ca1e777e27ec89203b65b1346f5aa860b94 Mon Sep 17 00:00:00 2001 From: Jose Erick Carreon Date: Fri, 12 Apr 2019 21:53:25 -0500 Subject: [PATCH] fix: Class path for call different classes sections --- src/Joserick/Plex/Server/Library/SectionAbstract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Joserick/Plex/Server/Library/SectionAbstract.php b/src/Joserick/Plex/Server/Library/SectionAbstract.php index 18451ff..f9e7d7c 100644 --- a/src/Joserick/Plex/Server/Library/SectionAbstract.php +++ b/src/Joserick/Plex/Server/Library/SectionAbstract.php @@ -694,7 +694,7 @@ public function getGenres() public static function factory($type, $name, $address, $port, $token) { $class = sprintf( - 'Plex_Server_Library_Section_%s', + __NAMESPACE__.'\Section\Plex_Server_Library_Section_%s', ucfirst($type) );