Skip to content

Commit c9d0d1f

Browse files
laravel-ide-helperpataar
authored andcommitted
composer fix-style
1 parent 2607d59 commit c9d0d1f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Console/ModelsCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,7 @@ public function getPropertiesFromMethods($model)
691691
}
692692
} elseif (in_array($method, ['query', 'newQuery', 'newModelQuery'])
693693
) {
694-
if($this->laravel['config']->get('ide-helper.write_query_methods', true)){
695-
694+
if ($this->laravel['config']->get('ide-helper.write_query_methods', true)) {
696695
$builder = $this->getClassNameInDestinationFile($model, get_class($model->newModelQuery()));
697696

698697
$this->setMethod(

tests/Console/ModelsCommand/QueryMethods/Test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Barryvdh\LaravelIdeHelper\Console\ModelsCommand;
88
use Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\AbstractModelsCommand;
9-
use Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\QueryMethods\Models\Post;
109

1110
class Test extends AbstractModelsCommand
1211
{

0 commit comments

Comments
 (0)