Skip to content

Commit

Permalink
Merge branch 'main' of github.com:vormkracht10/laravel-embeddings
Browse files Browse the repository at this point in the history
  • Loading branch information
Casmo committed Dec 1, 2023
2 parents 27a1b47 + 6a474eb commit 3c65133
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/Commands/ImportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ImportCommand extends Command
/**
* Execute the console command.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
* @return void
*/
public function handle(Dispatcher $events)
Expand All @@ -43,4 +42,4 @@ public function handle(Dispatcher $events)

$this->info('All ['.$class.'] records have been imported.');
}
}
}
3 changes: 0 additions & 3 deletions src/EmbeddableScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class EmbeddableScope implements Scope
/**
* Apply the scope to a given Eloquent query builder.
*
* @param \Illuminate\Database\Eloquent\Builder $builder
* @param \Illuminate\Database\Eloquent\Model $model
* @return void
*/
public function apply(EloquentBuilder $builder, Model $model)
Expand All @@ -26,7 +24,6 @@ public function apply(EloquentBuilder $builder, Model $model)
/**
* Extend the query builder with the needed functions.
*
* @param \Illuminate\Database\Eloquent\Builder $builder
* @return void
*/
public function extend(EloquentBuilder $builder)
Expand Down
2 changes: 1 addition & 1 deletion src/EmbeddingServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function boot()
{
if ($this->app->runningInConsole()) {
$this->commands([
ImportCommand::class
ImportCommand::class,
]);

$this->publishes([
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ModelsFlushed.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public function __construct($models)
{
$this->models = $models;
}
}
}
2 changes: 1 addition & 1 deletion src/Events/ModelsImported.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public function __construct($models)
{
$this->models = $models;
}
}
}

0 comments on commit 3c65133

Please sign in to comment.