Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Commit 2703767

Browse files
authored
Merge pull request #5 from CodeAndWeb/master
Fixed missing $ in variable name
2 parents 094e4f9 + 98456cb commit 2703767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LanguageSwitcher/Command/RenderLanguageSwitcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function handle(
6969
}
7070
foreach ($filesystem->allFiles($views_dir) as $file){
7171
// Use the names of the views as networks
72-
types[] = $file->getBaseName('.' . $file->getExtension());
72+
$types[] = $file->getBaseName('.' . $file->getExtension());
7373
}
7474

7575
if (!in_array($type, $types)) {

0 commit comments

Comments
 (0)