From 3a1ee94acf61ceb011e6fb3f0fbd9b21e2da4109 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 17 Mar 2018 18:07:42 -0500 Subject: [PATCH] Ordering in ClassLoader --- app/Support/ClassLoader.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Support/ClassLoader.php b/app/Support/ClassLoader.php index e8661efe..5223adb8 100644 --- a/app/Support/ClassLoader.php +++ b/app/Support/ClassLoader.php @@ -13,12 +13,11 @@ class ClassLoader */ public static function getClassesInPath($path) { - $classes = []; - if (!file_exists($path)) { return []; } + $classes = []; $all_classes = array_keys(ClassMapGenerator::createMap($path)); foreach ($all_classes as $cl) { try {