From bc8b44a2cd66bd77dd3de0e424500646a007ed7c Mon Sep 17 00:00:00 2001 From: Esdert Folkers Date: Tue, 1 Sep 2020 10:41:37 +0200 Subject: [PATCH] actually explode --- src/Console/Patch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Patch.php b/src/Console/Patch.php index b16c0ae..b1ae90a 100644 --- a/src/Console/Patch.php +++ b/src/Console/Patch.php @@ -92,7 +92,7 @@ private function handleLanguagePatching() $explodedLanguageTag = explode('.', $tag); foreach (File::directories(config('laravel-stubs.patch.language_folder')) as $languagePath) { - $explodedLanguagePath = $languagePath; + $explodedLanguagePath = explode('/', $languagePath); if (in_array(\array_pop($explodedLanguagePath), \config('laravel-stubs.patch.language_exclude'))) { continue; }