diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithViews.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithViews.php index 574009a68f95..bbc65c7a10c2 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithViews.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithViews.php @@ -18,7 +18,7 @@ trait InteractsWithViews * @param \Illuminate\Contracts\Support\Arrayable|array $data * @return \Illuminate\Testing\TestView */ - protected function view(string $view, array $data = []) + protected function view(string $view, $data = []) { return new TestView(view($view, $data)); } @@ -30,7 +30,7 @@ protected function view(string $view, array $data = []) * @param \Illuminate\Contracts\Support\Arrayable|array $data * @return \Illuminate\Testing\TestView */ - protected function blade(string $template, array $data = []) + protected function blade(string $template, $data = []) { $tempDirectory = sys_get_temp_dir(); @@ -52,7 +52,7 @@ protected function blade(string $template, array $data = []) * @param \Illuminate\Contracts\Support\Arrayable|array $data * @return \Illuminate\Testing\TestView */ - protected function component(string $componentClass, array $data = []) + protected function component(string $componentClass, $data = []) { $component = $this->app->make($componentClass, $data);