Skip to content

Commit

Permalink
Return type specific namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed Jan 21, 2017
1 parent 6cd265a commit 635cb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public static function getNamespaces($type = 'psr0')
{
throw new InvalidArgumentException('Type needs to be prs0 or psr4!');
}
return self::$namespaces;
return self::$namespaces[$type];
}

/**
Expand Down

0 comments on commit 635cb69

Please sign in to comment.