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 094bab7 commit a421488Copy full SHA for a421488
src/TestCaseGenerator.php
@@ -58,7 +58,7 @@ protected function generateSuccessCase()
58
$case = [];
59
$value = '';
60
foreach ($this->params as $key => $val) {
61
- $case[$val] = $this->getValue($val, $this->rules[$key]);
+ $case[$val] = $this->getValue(is_string($val) ? $val : strval($val), $this->rules[$key]);
62
}
63
64
$this->cases['success'] = $case;
@@ -334,4 +334,4 @@ protected function generateFailureCase()
334
$this->cases['failure'] = array_fill_keys($this->params, '');
335
336
337
-}
+}
0 commit comments