From 98456cbf8b05541e3f644f39a5ab3ef5a3648621 Mon Sep 17 00:00:00 2001 From: Andreas Loew Date: Tue, 25 Apr 2017 18:52:04 +0200 Subject: [PATCH] Fixed missing $ in variable name --- src/LanguageSwitcher/Command/RenderLanguageSwitcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LanguageSwitcher/Command/RenderLanguageSwitcher.php b/src/LanguageSwitcher/Command/RenderLanguageSwitcher.php index 7deb1a0..bfe80f0 100644 --- a/src/LanguageSwitcher/Command/RenderLanguageSwitcher.php +++ b/src/LanguageSwitcher/Command/RenderLanguageSwitcher.php @@ -69,7 +69,7 @@ public function handle( } foreach ($filesystem->allFiles($views_dir) as $file){ // Use the names of the views as networks - types[] = $file->getBaseName('.' . $file->getExtension()); + $types[] = $file->getBaseName('.' . $file->getExtension()); } if (!in_array($type, $types)) {