From 343a9b5e9d2a6b504e86e493c18190f01e4ea7bb Mon Sep 17 00:00:00 2001 From: Jasper Zonneveld Date: Wed, 27 Mar 2024 11:00:48 +0100 Subject: [PATCH] style: fix (updated) code style --- src/Commands/Index.php | 2 -- src/Commands/IndexOne.php | 2 -- src/Commands/UnindexOne.php | 2 -- src/FulltextServiceProvider.php | 10 +++++----- src/Indexable.php | 2 +- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/Commands/Index.php b/src/Commands/Index.php index 7a1cd81..08d2e8e 100644 --- a/src/Commands/Index.php +++ b/src/Commands/Index.php @@ -18,8 +18,6 @@ class Index extends Command /** * Execute the console command. - * - * @return mixed */ public function handle() { diff --git a/src/Commands/IndexOne.php b/src/Commands/IndexOne.php index 92e35c0..1645c90 100644 --- a/src/Commands/IndexOne.php +++ b/src/Commands/IndexOne.php @@ -18,8 +18,6 @@ class IndexOne extends Command /** * Execute the console command. - * - * @return mixed */ public function handle() { diff --git a/src/Commands/UnindexOne.php b/src/Commands/UnindexOne.php index bc2f301..d55d4f0 100644 --- a/src/Commands/UnindexOne.php +++ b/src/Commands/UnindexOne.php @@ -18,8 +18,6 @@ class UnindexOne extends Command /** * Execute the console command. - * - * @return mixed */ public function handle() { diff --git a/src/FulltextServiceProvider.php b/src/FulltextServiceProvider.php index f48a476..d274b02 100644 --- a/src/FulltextServiceProvider.php +++ b/src/FulltextServiceProvider.php @@ -10,9 +10,9 @@ class FulltextServiceProvider extends ServiceProvider { protected $commands = [ - Index::class, - IndexOne::class, - UnindexOne::class, + Index::class, + IndexOne::class, + UnindexOne::class, ]; /** @@ -28,14 +28,14 @@ public function register() if ($this->app->runningInConsole()) { $this->publishes( [ - __DIR__.'/../config/laravel-fulltext.php' => config_path('laravel-fulltext.php'), + __DIR__.'/../config/laravel-fulltext.php' => config_path('laravel-fulltext.php'), ], 'laravel-fulltext' ); $this->publishes( [ - __DIR__.'/../database/migrations' => database_path('migrations'), + __DIR__.'/../database/migrations' => database_path('migrations'), ], 'laravel-fulltext' ); diff --git a/src/Indexable.php b/src/Indexable.php index 0ceb698..bcfd5a6 100644 --- a/src/Indexable.php +++ b/src/Indexable.php @@ -3,7 +3,7 @@ namespace Swis\Laravel\Fulltext; /** - * @property \Swis\Laravel\Fulltext\IndexedRecord|null $indexedRecord + * @property IndexedRecord|null $indexedRecord */ trait Indexable {