Skip to content

Commit

Permalink
actually explode
Browse files Browse the repository at this point in the history
  • Loading branch information
EsdertCO committed Sep 1, 2020
1 parent 0d8ee13 commit bc8b44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Patch.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bc8b44a

Please sign in to comment.