File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 286
286
<code >Assert::isWritable(...func_get_args())</code >
287
287
</TooManyArguments >
288
288
</file >
289
- <file src =" src/Framework/Attributes/TestWith.php" >
290
- <MissingParamType occurrences =" 1" >
291
- <code >$data</code >
292
- </MissingParamType >
293
- </file >
294
289
<file src =" src/Framework/Constraint/Cardinality/Count.php" >
295
290
<MissingParamType occurrences =" 1" >
296
291
<code >$other</code >
Original file line number Diff line number Diff line change 15
15
class TestWith
16
16
{
17
17
/**
18
- * @var array
18
+ * @var string
19
19
*/
20
- private $ data ;
20
+ private $ json ;
21
21
22
- public function __construct (... $ data )
22
+ public function __construct (string $ json )
23
23
{
24
- $ this ->data = $ data ;
24
+ $ this ->json = $ json ;
25
25
}
26
26
27
- public function data (): array
27
+ public function json (): string
28
28
{
29
- return $ this ->data ;
29
+ return $ this ->json ;
30
30
}
31
31
}
You can’t perform that action at this time.
0 commit comments