Skip to content

Commit e92cf3c

Browse files
Fix style issue
1 parent 648ee0f commit e92cf3c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Commands/FMModelMakeCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
use Illuminate\Support\Str;
77
use Symfony\Component\Console\Input\InputOption;
88

9-
class FMModelMakeCommand extends LaravelModelMakeCommand {
10-
9+
class FMModelMakeCommand extends LaravelModelMakeCommand
10+
{
1111
protected $name = 'make:fm-model';
1212

1313
/**
@@ -28,10 +28,10 @@ public function getStub()
2828
{
2929
$stub = parent::getStub();
3030

31-
if($this->option('filemaker')) {
31+
if ($this->option('filemaker')) {
3232
$stub = Str::replace('/model.', '/fm.model.', $stub);
3333

34-
throw_if(!file_exists($stub), new \RuntimeException("This model type is not yet supported by Eloquent FileMaker."));
34+
throw_if(! file_exists($stub), new \RuntimeException('This model type is not yet supported by Eloquent FileMaker.'));
3535
}
3636

3737
return $stub;

src/Providers/FileMakerConnectionServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ public function boot(Kernel $kernel)
6161
__DIR__ . '/../config/eloquent-filemaker.php' => config_path('eloquent-filemaker.php'),
6262
], 'eloquent-filemaker-config');
6363
$this->publishes([
64-
__DIR__.'/../Commands/stubs/fm.model.stub' => base_path('stubs/model.stub')
64+
__DIR__ . '/../Commands/stubs/fm.model.stub' => base_path('stubs/model.stub'),
6565
], 'eloquent-filemaker-override-model');
6666

6767
$this->publishes([
68-
__DIR__.'/../Commands/stubs/fm.model.stub' => base_path('stubs/fm.model.stub')
68+
__DIR__ . '/../Commands/stubs/fm.model.stub' => base_path('stubs/fm.model.stub'),
6969
], 'eloquent-filemaker-stubs');
7070
}
7171
}

0 commit comments

Comments
 (0)