Add and improve test coverage

This commit is contained in:
Adrien Loison committed 2015-04-16 14:51:48 -07:00
1 parent 2074781852
commit 3f3461b002
12 files changed
+146 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ class CellHelper
{
$existingIndexes = array_keys($dataArray);
$newIndexes = array_fill_keys(range(min($existingIndexes), max($existingIndexes)), $fillValue);
$newIndexes = array_fill_keys(range(0, max($existingIndexes)), $fillValue);
$dataArray += $newIndexes;
ksort($dataArray);