Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed May 31, 2024
1 parent 5c7e7e9 commit 4c09dc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Links/Query/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function of(Model $model): Collection
$result->push(
...$group
->items
->reject(fn($item) => $item->linkable_id === $model->id)
->reject(fn ($item) => $item->linkable_id === $model->id)
);
}
});
Expand All @@ -64,7 +64,7 @@ public function of(Model $model): Collection
->items
->map
->linkable
->reject(fn($item) => $item->id === $model->id)
->reject(fn ($item) => $item->id === $model->id)
);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration {
return new class () extends Migration {
public function up(): void
{
Schema::table('link_groups', function (Blueprint $table) {
Expand Down

0 comments on commit 4c09dc3

Please sign in to comment.