Skip to content

Commit fe9305b

Browse files
committed
typo
1 parent 555f391 commit fe9305b

2 files changed

Lines changed: 4 additions & 16 deletions

File tree

tests/Http/RequestFactory.port.phpt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ class RequestFactoryPortTest extends Tester\TestCase
2323
}
2424

2525

26-
/**
27-
* @return array
28-
*/
29-
public function providerCreateHttpRequest()
26+
public function providerCreateHttpRequest(): array
3027
{
3128
return [
3229
[80, []],
@@ -64,10 +61,7 @@ class RequestFactoryPortTest extends Tester\TestCase
6461
}
6562

6663

67-
/**
68-
* @return array
69-
*/
70-
public function providerCreateHttpRequestWithTrustedProxy()
64+
public function providerCreateHttpRequestWithTrustedProxy(): array
7165
{
7266
return [
7367
[8080, ['HTTP_X_FORWARDED_PORT' => '8080']],

tests/Http/RequestFactory.scheme.phpt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ class RequestFactorySchemeTest extends Tester\TestCase
2828
}
2929

3030

31-
/**
32-
* @return array
33-
*/
34-
public function providerCreateHttpRequest()
31+
public function providerCreateHttpRequest(): array
3532
{
3633
return [
3734
['http', ['SERVER_NAME' => 'localhost:80']],
@@ -66,10 +63,7 @@ class RequestFactorySchemeTest extends Tester\TestCase
6663
}
6764

6865

69-
/**
70-
* @return array
71-
*/
72-
public function providerCreateHttpRequestWithTrustedProxy()
66+
public function providerCreateHttpRequestWithTrustedProxy(): array
7367
{
7468
return [
7569
['http', 80, ['SERVER_NAME' => 'localhost:80', 'HTTP_X_FORWARDED_PROTO' => 'http']],

0 commit comments

Comments
 (0)