@@ -18,7 +18,7 @@ trait InteractsWithViews
1818 * @param \Illuminate\Contracts\Support\Arrayable|array $data
1919 * @return \Illuminate\Testing\TestView
2020 */
21- protected function view (string $ view , array $ data = [])
21+ protected function view (string $ view , $ data = [])
2222 {
2323 return new TestView (view ($ view , $ data ));
2424 }
@@ -30,7 +30,7 @@ protected function view(string $view, array $data = [])
3030 * @param \Illuminate\Contracts\Support\Arrayable|array $data
3131 * @return \Illuminate\Testing\TestView
3232 */
33- protected function blade (string $ template , array $ data = [])
33+ protected function blade (string $ template , $ data = [])
3434 {
3535 $ tempDirectory = sys_get_temp_dir ();
3636
@@ -52,7 +52,7 @@ protected function blade(string $template, array $data = [])
5252 * @param \Illuminate\Contracts\Support\Arrayable|array $data
5353 * @return \Illuminate\Testing\TestView
5454 */
55- protected function component (string $ componentClass , array $ data = [])
55+ protected function component (string $ componentClass , $ data = [])
5656 {
5757 $ component = $ this ->app ->make ($ componentClass , $ data );
5858
0 commit comments