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 0b7d55c commit 3063205Copy full SHA for 3063205
tests/Validator/ArgumentsOfCorrectTypeTest.php
@@ -34,6 +34,20 @@ public function testGoodIntValue()
34
');
35
}
36
37
+ /**
38
+ * @it Good negative int value
39
+ */
40
+ public function testGoodNegativeIntValue()
41
+ {
42
+ $this->expectPassesRule(new ArgumentsOfCorrectType(), '
43
44
+ complicatedArgs {
45
+ intArgField(intArg: -2)
46
+ }
47
48
+ ');
49
50
+
51
/**
52
* @it Good boolean value
53
*/
@@ -76,6 +90,17 @@ public function testGoodFloatValue()
76
90
77
91
78
92
93
+ public function testGoodNegativeFloatValue()
94
95
96
97
98
+ floatArgField(floatArg: -1.1)
99
100
101
102
103
79
104
80
105
* @it Int into Float
81
106
0 commit comments