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 3fe3f8d commit a86473bCopy full SHA for a86473b
apps/dav/tests/unit/Upload/AssemblyStreamTest.php
@@ -57,9 +57,9 @@ public function providesNodes() {
57
$tonofnodes = [];
58
$tonofdata = '';
59
for ($i = 0; $i < 101; $i++) {
60
- $thisdata = rand(0, 100); // variable length and content
+ $thisdata = random_int(0, 100); // variable length and content
61
$tonofdata .= $thisdata;
62
- array_push($tonofnodes, $this->buildNode($i, $thisdata));
+ $tonofnodes[] = $this->buildNode((string)$i, $thisdata);
63
}
64
65
return[
0 commit comments