We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d525a44 commit 4ae81edCopy full SHA for 4ae81ed
src/helpers.php
@@ -28,7 +28,7 @@ function flexiblePagesPrefix(string $var): string
28
/**
29
* @return ($view is null ? \Illuminate\Contracts\View\Factory : \Illuminate\Contracts\View\View)
30
*/
31
-function flexiblePagesView(string $viewPath, $data = [], $mergeData = []): string
+function flexiblePagesView(string $viewPath, $data = [], $mergeData = []): \Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
32
{
33
return view(flexiblePagesPrefix($viewPath));
34
}
0 commit comments