File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ final class SizeTest extends TestCase
15
15
/**
16
16
* @return array<string, array{0: string}>
17
17
*/
18
- public static function provideUnit (): array
18
+ public static function provideUnit ()
19
19
{
20
20
$ units = [
21
21
'px ' , 'pt ' , 'pc ' ,
@@ -29,7 +29,7 @@ public static function provideUnit(): array
29
29
return \array_combine (
30
30
$ units ,
31
31
\array_map (
32
- function (string $ unit ): array {
32
+ function ($ unit ) {
33
33
return [$ unit ];
34
34
},
35
35
$ units
@@ -42,7 +42,7 @@ function (string $unit): array {
42
42
*
43
43
* @dataProvider provideUnit
44
44
*/
45
- public function parsesUnit (string $ unit ): void
45
+ public function parsesUnit ($ unit ):
46
46
{
47
47
$ subject = Size::parse (new ParserState ('1 ' . $ unit , Settings::create ()));
48
48
You can’t perform that action at this time.
0 commit comments