@@ -15,14 +15,14 @@ final class ValueTest extends TestCase
1515 /**
1616 * @return array<string, array{0: string}>
1717 */
18- public static function provideArithmeticOperator (): array
18+ public static function provideArithmeticOperator ()
1919 {
2020 $ units = ['+ ' , '- ' , '* ' , '/ ' ];
2121
2222 return \array_combine (
2323 $ units ,
2424 \array_map (
25- function (string $ unit ): array {
25+ function (string $ unit ) {
2626 return [$ unit ];
2727 },
2828 $ units
@@ -35,7 +35,7 @@ function (string $unit): array {
3535 *
3636 * @dataProvider provideArithmeticOperator
3737 */
38- public function parsesArithmeticInFunctions (string $ operator ): void
38+ public function parsesArithmeticInFunctions (string $ operator )
3939 {
4040 $ subject = Value::parseValue (new ParserState ('max(300px, 50vh ' . $ operator . ' 10px); ' , Settings::create ()));
4141
@@ -47,7 +47,7 @@ public function parsesArithmeticInFunctions(string $operator): void
4747 * The first datum is a template for the parser (using `sprintf` insertion marker `%s` for some expression).
4848 * The second is for the expected result, which may have whitespace and trailing semicolon removed.
4949 */
50- public static function provideCssFunctionTemplates (): array
50+ public static function provideCssFunctionTemplates ()
5151 {
5252 return [
5353 'calc ' => [
@@ -80,7 +80,7 @@ public function parsesArithmeticWithMultipleOperatorsInFunctions(
8080 /**
8181 * @return array<string, array{0: string, 1: string}>
8282 */
83- public static function provideMalformedLengthOperands (): array
83+ public static function provideMalformedLengthOperands ()
8484 {
8585 return [
8686 'LHS missing number ' => ['vh ' , '10px ' ],
@@ -95,7 +95,7 @@ public static function provideMalformedLengthOperands(): array
9595 *
9696 * @dataProvider provideMalformedLengthOperands
9797 */
98- public function parsesArithmeticWithMalformedOperandsInFunctions (string $ leftOperand , string $ rightOperand ): void
98+ public function parsesArithmeticWithMalformedOperandsInFunctions (string $ leftOperand , string $ rightOperand )
9999 {
100100 $ subject = Value::parseValue (new ParserState (
101101 'max(300px, ' . $ leftOperand . ' + ' . $ rightOperand . '); ' ,
0 commit comments