Skip to content

Commit 8caf1e0

Browse files
committed
Fix phpstan errors
1 parent 98b604d commit 8caf1e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Components/LanguageSwitch.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ public function render()
1919
}
2020

2121
// Final fallback to tailwind theme
22-
return view('filament-flexible-content-block-pages::tailwind.components.language-switch');
22+
/** @var view-string $fallbackTemplate */
23+
$fallbackTemplate = 'filament-flexible-content-block-pages::tailwind.components.language-switch';
24+
return view($fallbackTemplate);
2325
}
2426

2527
public function shouldRender(): bool

0 commit comments

Comments
 (0)