Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 52f0a2c

Browse filesBrowse files
committed
Typo fix
1 parent def230b commit 52f0a2c
Copy full SHA for 52f0a2c

File tree

1 file changed

+5
-5
lines changed
Filter options

1 file changed

+5
-5
lines changed

‎src/Symfony/Component/Messenger/Tests/Transport/NullTransportFactoryTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Tests/Transport/NullTransportFactoryTest.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ protected function setUp()
3232
}
3333

3434
/**
35-
* @param string $dns
35+
* @param string $dsn
3636
* @param bool $expected
3737
*
38-
* @dataProvider provideDNS
38+
* @dataProvider provideDSN
3939
*/
40-
public function testSupports(string $dns, bool $expected = true)
40+
public function testSupports(string $dsn, bool $expected = true)
4141
{
42-
$this->assertSame($expected, $this->factory->supports($dns, array()), 'NullTransportFactory::supports returned unexpected result.');
42+
$this->assertSame($expected, $this->factory->supports($dsn, array()), 'NullTransportFactory::supports returned unexpected result.');
4343
}
4444

4545
public function testCreateTransport()
4646
{
4747
$this->assertInstanceOf(NullTransport::class, $this->factory->createTransport('null://', array()));
4848
}
4949

50-
public function provideDNS(): array
50+
public function provideDSN(): array
5151
{
5252
return array(
5353
'Supported' => array('null://foo'),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.