Skip to content

Commit 4ae81ed

Browse files
committed
Fix return type flexiblePagesView
1 parent d525a44 commit 4ae81ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function flexiblePagesPrefix(string $var): string
2828
/**
2929
* @return ($view is null ? \Illuminate\Contracts\View\Factory : \Illuminate\Contracts\View\View)
3030
*/
31-
function flexiblePagesView(string $viewPath, $data = [], $mergeData = []): string
31+
function flexiblePagesView(string $viewPath, $data = [], $mergeData = []): \Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
3232
{
3333
return view(flexiblePagesPrefix($viewPath));
3434
}

0 commit comments

Comments
 (0)