Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Commit 6f0febc

Browse files
committed
fix conflict
2 parents d0155d9 + 5d814c0 commit 6f0febc

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/Console/Concerns/InteractsWithConsoleCommands.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Coderflex\LaraCommand\Console\Concerns;
44

5-
use Symfony\Component\Console\Input\InputArgument;
6-
75
/**
86
* Interact With Console Commands
97
*/
@@ -20,7 +18,6 @@ public function loopThroughNameArgumentWith(string $command): bool
2018
* @var array $models
2119
*/
2220
$models = explode(' ', strval($this->argument('name')));
23-
2421
collect($models)->each(function ($name) use ($command) {
2522
$this->line("Generating {$name} class\n");
2623

tests/Commands/ModelMakeCommandTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
it('creates a new eloquent single model class', function () {
44
$this->artisan('laracommand:make-model', [
5-
'name' => 'Category',
6-
])
7-
->assertExitCode(0);
5+
'name' => 'Category',
6+
])
7+
->assertExitCode(0);
88
});
99

1010
it('returns required error if the name was not provided', function () {
1111
$this->artisan('laracommand:make-model', [
12-
'name' => null,
13-
])
14-
->assertExitCode(0);
12+
'name' => null,
13+
])
14+
->assertExitCode(0);
1515
});
1616

1717
it('creates a new eloquent model class', function () {

0 commit comments

Comments
 (0)