@@ -352,11 +352,11 @@ |
||
352 | 352 | $sheet->getCell('B1')->setValue(5); |
353 | 353 | $sheet->getCell('B2')->setValue(6); |
354 | 354 | $sheet->getCell('B3')->setValue(7); |
355 | - $testCell = $sheet->getCell('A1'); // redefine $testCell, because it has broken coordinates after using other cells |
|
355 | + $testCell = $sheet->getCell('A1'); // redefine $testCell, because it has broken coordinates after using other cells |
|
356 | 356 | $validation->setFormula1('B1:B3'); |
357 | 357 | $testCell->setValue('10'); |
358 | 358 | self::assertEquals(false, $testCell->hasValidValue(), "cell value ('10') is not allowed"); |
359 | - $testCell = $sheet->getCell('A1'); // redefine $testCell, because it has broken coordinates after using other cells |
|
359 | + $testCell = $sheet->getCell('A1'); // redefine $testCell, because it has broken coordinates after using other cells |
|
360 | 360 | $testCell->setValue('5'); |
361 | 361 | self::assertEquals(true, $testCell->hasValidValue(), "cell value ('5') has to be allowed"); |
362 | 362 | } |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * Does this cell contain valid value? |
12 | 12 | * |
13 | - * @param Cell $cell Cell to check the value |
|
13 | + * @param $cell Cell to check the value |
|
14 | 14 | * |
15 | 15 | * @return bool |
16 | 16 | */ |
@@ -9,7 +9,7 @@ |
||
9 | 9 | { |
10 | 10 | /** |
11 | 11 | * Does this cell contain valid value? |
12 | - * |
|
12 | + * |
|
13 | 13 | * @param Cell $cell Cell to check the value |
14 | 14 | * |
15 | 15 | * @return bool |