Skip to content

Commit 70d9796

Browse files
laravel-ide-helpergithub-actions[bot]
authored andcommitted
composer fix-style
1 parent 6d6d7b3 commit 70d9796

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/Console/ModelsCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
use Illuminate\Filesystem\Filesystem;
4848
use Illuminate\Support\Arr;
4949
use Illuminate\Support\Collection;
50-
use Illuminate\Support\Facades\Artisan;
5150
use Illuminate\Support\Str;
5251
use Illuminate\View\Factory as ViewFactory;
5352
use phpDocumentor\Reflection\Types\ContextFactory;
@@ -253,7 +252,7 @@ protected function getOptions()
253252
"Write models to {$this->filename} and adds @mixin to each model, avoiding IDE duplicate declaration warnings",
254253
],
255254
['write-eloquent-helper', 'E', InputOption::VALUE_NONE,
256-
"Write Eloquent helper file to _ide_helper.php",
255+
'Write Eloquent helper file to _ide_helper.php',
257256
],
258257
['nowrite', 'N', InputOption::VALUE_NONE, 'Don\'t write to Model file'],
259258
['reset', 'R', InputOption::VALUE_NONE, 'Remove the original phpdocs instead of appending'],

src/IdeHelperServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function register()
6565
$configPath = __DIR__ . '/../config/ide-helper.php';
6666
$this->mergeConfigFrom($configPath, 'ide-helper');
6767

68-
$this->app->when([GeneratorCommand::class, MetaCommand::class, ModelsCommand::class ])
68+
$this->app->when([GeneratorCommand::class, MetaCommand::class, ModelsCommand::class])
6969
->needs(\Illuminate\Contracts\View\Factory::class)
7070
->give(function () {
7171
return $this->createLocalViewFactory();

tests/Console/ModelsCommand/GenerateBasicPhpdocWithEloquentHelper/Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ public function test(): void
2323
$this->assertStringNotContainsString('Do you want to generate a minimal helper to generate the Eloquent methods?', $tester->getDisplay());
2424
$this->assertStringContainsString('Eloquent helper was written to _ide_helper.php', $tester->getDisplay());
2525

26-
// $this->assertMatchesMockedSnapshot();
26+
// $this->assertMatchesMockedSnapshot();
2727
}
2828
}

0 commit comments

Comments
 (0)