Skip to content

Commit a862764

Browse files
committed
Remove type hints for PHP5
1 parent 8818f96 commit a862764

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Value/SizeTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class SizeTest extends TestCase
1515
/**
1616
* @return array<string, array{0: string}>
1717
*/
18-
public static function provideUnit(): array
18+
public static function provideUnit()
1919
{
2020
$units = [
2121
'px', 'pt', 'pc',
@@ -29,7 +29,7 @@ public static function provideUnit(): array
2929
return \array_combine(
3030
$units,
3131
\array_map(
32-
function (string $unit): array {
32+
function ($unit) {
3333
return [$unit];
3434
},
3535
$units
@@ -42,7 +42,7 @@ function (string $unit): array {
4242
*
4343
* @dataProvider provideUnit
4444
*/
45-
public function parsesUnit(string $unit): void
45+
public function parsesUnit($unit)
4646
{
4747
$subject = Size::parse(new ParserState('1' . $unit, Settings::create()));
4848

0 commit comments

Comments
 (0)