Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/Illuminate/Contracts/Mail/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Factory
* Get a mailer instance by name.
*
* @param string|null $name
* @return \Illuminate\Mail\Mailer
* @return \Illuminate\Contracts\Mail\Mailer
*/
public function mailer($name = null);
}
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
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/MailManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct($app)
* Get a mailer instance by name.
*
* @param string|null $name
* @return \Illuminate\Mail\Mailer
* @return \Illuminate\Contracts\Mail\Mailer
*/
public function mailer($name = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Testing/Fakes/MailFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ protected function queuedMailablesOf($type)
* Get a mailer instance by name.
*
* @param string|null $name
* @return \Illuminate\Mail\Mailer
* @return \Illuminate\Contracts\Mail\Mailer
*/
public function mailer($name = null)
{
Expand Down