Skip to content

Commit c02405d

Browse files
[Notifier] CS fix
1 parent f0e6201 commit c02405d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Tests/LinkedInTransportFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
final class LinkedInTransportFactoryTest extends TestCase
1212
{
13-
public function testCreateWithDsn(): void
13+
public function testCreateWithDsn()
1414
{
1515
$factory = new LinkedInTransportFactory();
1616

@@ -21,15 +21,15 @@ public function testCreateWithDsn(): void
2121
$this->assertSame('linkedin://testHost', (string) $transport);
2222
}
2323

24-
public function testSupportsLinkedinScheme(): void
24+
public function testSupportsLinkedinScheme()
2525
{
2626
$factory = new LinkedInTransportFactory();
2727

2828
$this->assertTrue($factory->supports(Dsn::fromString('linkedin://host/path')));
2929
$this->assertFalse($factory->supports(Dsn::fromString('somethingElse://host/path')));
3030
}
3131

32-
public function testNonLinkedinSchemeThrows(): void
32+
public function testNonLinkedinSchemeThrows()
3333
{
3434
$factory = new LinkedInTransportFactory();
3535

@@ -39,7 +39,7 @@ public function testNonLinkedinSchemeThrows(): void
3939
$factory->create(Dsn::fromString($dsn));
4040
}
4141

42-
public function testIncompleteDsnMissingUserThrows(): void
42+
public function testIncompleteDsnMissingUserThrows()
4343
{
4444
$factory = new LinkedInTransportFactory();
4545

Tests/LinkedInTransportTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616

1717
final class LinkedInTransportTest extends TestCase
1818
{
19-
public function testToString(): void
19+
public function testToString()
2020
{
2121
$this->assertSame(sprintf('linkedin://host.test'), (string) $this->getTransport());
2222
}
2323

24-
public function testSupportsChatMessage(): void
24+
public function testSupportsChatMessage()
2525
{
2626
$transport = $this->getTransport();
2727

2828
$this->assertTrue($transport->supports(new ChatMessage('testChatMessage')));
2929
$this->assertFalse($transport->supports($this->createMock(MessageInterface::class)));
3030
}
3131

32-
public function testSendNonChatMessageThrows(): void
32+
public function testSendNonChatMessageThrows()
3333
{
3434
$this->expectException(LogicException::class);
3535

@@ -38,7 +38,7 @@ public function testSendNonChatMessageThrows(): void
3838
$transport->send($this->createMock(MessageInterface::class));
3939
}
4040

41-
public function testSendWithEmptyArrayResponseThrows(): void
41+
public function testSendWithEmptyArrayResponseThrows()
4242
{
4343
$this->expectException(TransportException::class);
4444

@@ -59,7 +59,7 @@ public function testSendWithEmptyArrayResponseThrows(): void
5959
$transport->send(new ChatMessage('testMessage'));
6060
}
6161

62-
public function testSendWithErrorResponseThrows(): void
62+
public function testSendWithErrorResponseThrows()
6363
{
6464
$this->expectException(TransportException::class);
6565
$this->expectExceptionMessage('testErrorCode');
@@ -82,7 +82,7 @@ public function testSendWithErrorResponseThrows(): void
8282
$transport->send(new ChatMessage('testMessage'));
8383
}
8484

85-
public function testSendWithOptions(): void
85+
public function testSendWithOptions()
8686
{
8787
$message = 'testMessage';
8888

@@ -126,7 +126,7 @@ public function testSendWithOptions(): void
126126
$transport->send(new ChatMessage($message));
127127
}
128128

129-
public function testSendWithNotification(): void
129+
public function testSendWithNotification()
130130
{
131131
$message = 'testMessage';
132132

@@ -174,7 +174,7 @@ public function testSendWithNotification(): void
174174
$transport->send($chatMessage);
175175
}
176176

177-
public function testSendWithInvalidOptions(): void
177+
public function testSendWithInvalidOptions()
178178
{
179179
$this->expectException(LogicException::class);
180180

0 commit comments

Comments
 (0)