Skip to content

Commit 4acd8b6

Browse files
committed
cs fix
1 parent 75878eb commit 4acd8b6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/Service/ServiceGroup.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ class ServiceGroup
88

99
public function __construct(
1010
private readonly Service $service,
11-
private readonly string $name
12-
) {}
11+
private readonly string $name
12+
) {
13+
}
1314

1415
public function addGroup(string $name): ServiceGroup
1516
{
@@ -21,11 +22,10 @@ public function addGroup(string $name): ServiceGroup
2122
}
2223

2324
public function addEndpoint(
24-
string $name,
25+
string $name,
2526
string|EndpointHandler|callable $serviceHandler,
26-
array $options = []
27-
): void
28-
{
27+
array $options = []
28+
): void {
2929
$subject = $this->name . '.' . $name;
3030

3131
if (array_key_exists('subject', $options)) {

tests/Utils/TestEndpoint.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
class TestEndpoint implements EndpointHandler
99
{
10-
1110
public function handle(Payload $payload): array
1211
{
1312
return [

0 commit comments

Comments
 (0)