Skip to content

Commit c02306c

Browse files
Merge branch '8.5' into 9.5
2 parents 36f0d46 + 561d082 commit c02306c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/writing-tests-for-phpunit.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,11 @@ Output will be more verbose as it'll contain that name of a dataset that breaks
438438
rewind($this->file);
439439
440440
$this->current = fgetcsv($this->file);
441+
442+
if (is_array($row)) {
443+
$row = array_map('intval', $row);
444+
}
445+
441446
$this->key = 0;
442447
}
443448
@@ -460,6 +465,10 @@ Output will be more verbose as it'll contain that name of a dataset that breaks
460465
{
461466
$this->current = fgetcsv($this->file);
462467
468+
if (is_array($row)) {
469+
$row = array_map('intval', $row);
470+
}
471+
463472
$this->key++;
464473
}
465474
}

0 commit comments

Comments
 (0)