Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne authored and actions-user committed Oct 10, 2024
1 parent 4ef1bb7 commit 20effb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/StoredEvents/Models/EloquentStoredEventQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Spatie\EventSourcing\StoredEvents\Models;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Arr;
use Spatie\EventSourcing\StoredEvents\StoredEvent;

/**
Expand Down Expand Up @@ -35,7 +34,7 @@ public function whereAggregateRoot(string $uuid): self
public function whereEvent(string ...$eventClasses): self
{
$this->whereIn('event_class', array_map(
fn (string $eventClass): string => StoredEvent::getEventClass($eventClass),
fn (string $eventClass): string => StoredEvent::getEventClass($eventClass),
$eventClasses,
));

Expand Down

0 comments on commit 20effb5

Please sign in to comment.