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
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
You can’t perform that action at this time.
0 commit comments