@@ -22,7 +22,7 @@ public static function provideArithmeticOperator()
22
22
return \array_combine (
23
23
$ units ,
24
24
\array_map (
25
- function (string $ unit ) {
25
+ function ($ unit ) {
26
26
return [$ unit ];
27
27
},
28
28
$ units
@@ -35,7 +35,7 @@ function (string $unit) {
35
35
*
36
36
* @dataProvider provideArithmeticOperator
37
37
*/
38
- public function parsesArithmeticInFunctions (string $ operator )
38
+ public function parsesArithmeticInFunctions ($ operator )
39
39
{
40
40
$ subject = Value::parseValue (new ParserState ('max(300px, 50vh ' . $ operator . ' 10px); ' , Settings::create ()));
41
41
@@ -67,8 +67,8 @@ public static function provideCssFunctionTemplates()
67
67
* @dataProvider provideCssFunctionTemplates
68
68
*/
69
69
public function parsesArithmeticWithMultipleOperatorsInFunctions (
70
- string $ parserTemplate ,
71
- string $ expectedResultTemplate
70
+ $ parserTemplate ,
71
+ $ expectedResultTemplate
72
72
) {
73
73
static $ expression = '300px + 10% + 10vw ' ;
74
74
@@ -95,7 +95,7 @@ public static function provideMalformedLengthOperands()
95
95
*
96
96
* @dataProvider provideMalformedLengthOperands
97
97
*/
98
- public function parsesArithmeticWithMalformedOperandsInFunctions (string $ leftOperand , string $ rightOperand )
98
+ public function parsesArithmeticWithMalformedOperandsInFunctions ($ leftOperand , $ rightOperand )
99
99
{
100
100
$ subject = Value::parseValue (new ParserState (
101
101
'max(300px, ' . $ leftOperand . ' + ' . $ rightOperand . '); ' ,
0 commit comments