@@ -18,7 +18,7 @@ trait InteractsWithViews
18
18
* @param \Illuminate\Contracts\Support\Arrayable|array $data
19
19
* @return \Illuminate\Testing\TestView
20
20
*/
21
- protected function view (string $ view , array $ data = [])
21
+ protected function view (string $ view , $ data = [])
22
22
{
23
23
return new TestView (view ($ view , $ data ));
24
24
}
@@ -30,7 +30,7 @@ protected function view(string $view, array $data = [])
30
30
* @param \Illuminate\Contracts\Support\Arrayable|array $data
31
31
* @return \Illuminate\Testing\TestView
32
32
*/
33
- protected function blade (string $ template , array $ data = [])
33
+ protected function blade (string $ template , $ data = [])
34
34
{
35
35
$ tempDirectory = sys_get_temp_dir ();
36
36
@@ -52,7 +52,7 @@ protected function blade(string $template, array $data = [])
52
52
* @param \Illuminate\Contracts\Support\Arrayable|array $data
53
53
* @return \Illuminate\Testing\TestView
54
54
*/
55
- protected function component (string $ componentClass , array $ data = [])
55
+ protected function component (string $ componentClass , $ data = [])
56
56
{
57
57
$ component = $ this ->app ->make ($ componentClass , $ data );
58
58
0 commit comments