File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
33use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
44use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesServiceProvider ;
5+ use Illuminate \Contracts \View \View ;
56
67function flexiblePagesTrans (string $ translationKey , array $ replace = [], ?string $ locale = null ): string
78{
@@ -26,9 +27,9 @@ function flexiblePagesPrefix(string $var): string
2627}
2728
2829/**
29- * @return ($view is null ? \Illuminate\Contracts\ View\Factory : \Illuminate\Contracts\View\View)
30+ * @return View
3031 */
31- function flexiblePagesView (string $ viewPath , $ data = [], $ mergeData = []): \ Illuminate \ Contracts \ View \ Factory | \ Illuminate \ Contracts \ View \ View
32+ function flexiblePagesView (string $ viewPath , $ data = [], $ mergeData = []): View
3233{
33- return view (flexiblePagesPrefix ($ viewPath ));
34+ return view (flexiblePagesPrefix ($ viewPath ), $ data , $ mergeData );
3435}
You can’t perform that action at this time.
0 commit comments