From a200b1b6032e30ef4169c534f46222a275ff58f5 Mon Sep 17 00:00:00 2001 From: Varun Sridharan Date: Sat, 2 Feb 2019 06:53:49 +0530 Subject: [PATCH] Small Bug Fixed. --- src/Autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Autoloader.php b/src/Autoloader.php index e4b7a36..e2a3f1f 100644 --- a/src/Autoloader.php +++ b/src/Autoloader.php @@ -335,7 +335,7 @@ protected function search_folders( $path ) { } } } else { - $return = array( $this->trailingslashit( $path ) ); + $return[] = array( $this->trailingslashit( $path ) ); } return $return;