Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 3fb8cc2

Browse files
committed
Remove typehints and RTH to work on PHP 5.6
1 parent b8ca384 commit 3fb8cc2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/functions/MarshalUriFromSapiTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MarshalUriFromSapiTest extends TestCase
1717
* @param string $expectedScheme
1818
* @dataProvider returnsUrlWithCorrectHttpSchemeFromArraysProvider
1919
*/
20-
public function testReturnsUrlWithCorrectHttpSchemeFromArrays(string $httpsValue, string $expectedScheme) : void
20+
public function testReturnsUrlWithCorrectHttpSchemeFromArrays($httpsValue, $expectedScheme)
2121
{
2222
$server = [
2323
'HTTPS' => $httpsValue,
@@ -60,7 +60,10 @@ public function testReturnsUrlWithCorrectHttpSchemeFromArrays(string $httpsValue
6060
self::assertSame($expectedScheme, $url->getScheme());
6161
}
6262

63-
public function returnsUrlWithCorrectHttpSchemeFromArraysProvider() : array
63+
/**
64+
* @return array
65+
*/
66+
public function returnsUrlWithCorrectHttpSchemeFromArraysProvider()
6467
{
6568
return [
6669
'on-lowercase' => ['on', 'https'],

0 commit comments

Comments
 (0)