Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed Oct 1, 2024
1 parent 75878eb commit 4acd8b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/Service/ServiceGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ class ServiceGroup

public function __construct(
private readonly Service $service,
private readonly string $name
) {}
private readonly string $name
) {
}

public function addGroup(string $name): ServiceGroup
{
Expand All @@ -21,11 +22,10 @@ public function addGroup(string $name): ServiceGroup
}

public function addEndpoint(
string $name,
string $name,
string|EndpointHandler|callable $serviceHandler,
array $options = []
): void
{
array $options = []
): void {
$subject = $this->name . '.' . $name;

if (array_key_exists('subject', $options)) {
Expand Down
1 change: 0 additions & 1 deletion tests/Utils/TestEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class TestEndpoint implements EndpointHandler
{

public function handle(Payload $payload): array
{
return [
Expand Down

0 comments on commit 4acd8b6

Please sign in to comment.