Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand All @@ -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();

Expand All @@ -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);

Expand Down