We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abcbb30 commit cafd121Copy full SHA for cafd121
tests/Unit/Value/ValueTest.php
@@ -28,17 +28,12 @@ final class ValueTest extends TestCase
28
*/
29
public static function provideArithmeticOperator(): array
30
{
31
- $units = ['+', '-', '*', '/'];
32
-
33
- return \array_combine(
34
- $units,
35
- \array_map(
36
- static function (string $unit): array {
37
- return [$unit];
38
- },
39
- $units
40
- )
41
- );
+ return [
+ '+' => ['+'],
+ '-' => ['-'],
+ '*' => ['*'],
+ '/' => ['/'],
+ ];
42
}
43
44
/**
0 commit comments