优化Loader类

This commit is contained in:
yunwuxin
2016-06-30 16:25:24 +08:00
parent f4444fd46f
commit bf1d9c9b9a

View File

@@ -150,7 +150,7 @@ class Loader
}
// 添加Ps0空间
private function addPsr0($prefix, $paths, $prepend = false)
private static function addPsr0($prefix, $paths, $prepend = false)
{
if (!$prefix) {
if ($prepend) {