From 1c68b4fa98adc3baffa866ccfb76591ed5e8a06d Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sun, 26 Jul 2020 15:13:03 +0200 Subject: [PATCH] Fix wrong filename --- MD_STD.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MD_STD.php b/MD_STD.php index 9f0cdfd..95be7ef 100644 --- a/MD_STD.php +++ b/MD_STD.php @@ -44,7 +44,7 @@ class MD_STD { public static function scandir(string $filepath):array { if (!is_dir($filepath) || ($output = scandir($filepath)) === false) { - throw new MDFileDoesNotExist("There is no file {$filename}"); + throw new MDFileDoesNotExist("There is no file {$filepath}"); } return array_values(array_diff($output, ['.', '..']));