Skip to content

Commit

Permalink
Fix Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
gzumba committed Mar 8, 2024
1 parent f708b10 commit 27cc301
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/EventBus/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Patchlevel\EventSourcing\Aggregate\AggregateRoot;

use function array_key_exists;
use function array_keys;

/**
* @template-covariant T of object
Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/EventBus/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ public function testCustomHeaders(): void
->withPlayhead(1)
->withRecordedOn($recordedAt)
->withCustomHeader('custom-field', 'foo-bar')
->withCustomHeader('valueiskey', 'valueiskey')
;
->withCustomHeader('valueiskey', 'valueiskey');

self::assertEquals(
['custom-field' => 'foo-bar', 'valueiskey' => 'valueiskey'],
Expand Down

0 comments on commit 27cc301

Please sign in to comment.