Skip to content

Commit 0e9053d

Browse files
committed
Apply fixes from StyleCI
1 parent 20030a5 commit 0e9053d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/Illuminate/Foundation/Console/MailMakeCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Symfony\Component\Console\Input\InputInterface;
1111
use Symfony\Component\Console\Input\InputOption;
1212
use Symfony\Component\Console\Output\OutputInterface;
13+
1314
use function Laravel\Prompts\select;
1415

1516
#[AsCommand(name: 'make:mail')]

tests/Integration/Generators/ViewMakeCommandTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public function testItCanGenerateViewFileWithTest()
3030
public function testItCanGenerateMailWithNoInitialInput()
3131
{
3232
$this->artisan('make:mail')
33-
->expectsQuestion('What should the mailable be named?','FooMail')
34-
->expectsQuestion('Would you like to create a view?','none')
33+
->expectsQuestion('What should the mailable be named?', 'FooMail')
34+
->expectsQuestion('Would you like to create a view?', 'none')
3535
->assertExitCode(0);
3636

3737
$this->assertFilenameExists('app/Mail/FooMail.php');
@@ -41,8 +41,8 @@ public function testItCanGenerateMailWithNoInitialInput()
4141
public function testItCanGenerateMailWithViewWithNoInitialInput()
4242
{
4343
$this->artisan('make:mail')
44-
->expectsQuestion('What should the mailable be named?','MyFooMail')
45-
->expectsQuestion('Would you like to create a view?','view')
44+
->expectsQuestion('What should the mailable be named?', 'MyFooMail')
45+
->expectsQuestion('Would you like to create a view?', 'view')
4646
->assertExitCode(0);
4747

4848
$this->assertFilenameExists('app/Mail/MyFooMail.php');
@@ -53,8 +53,8 @@ public function testItCanGenerateMailWithMarkdownViewWithNoInitialInput()
5353
{
5454
$this->artisan('make:mail')
5555

56-
->expectsQuestion('What should the mailable be named?','FooMail')
57-
->expectsQuestion('Would you like to create a view?','markdown')
56+
->expectsQuestion('What should the mailable be named?', 'FooMail')
57+
->expectsQuestion('Would you like to create a view?', 'markdown')
5858
->assertExitCode(0);
5959

6060
$this->assertFilenameExists('app/Mail/MyFooMail.php');

0 commit comments

Comments
 (0)