Skip to content

Commit 71927f5

Browse files
author
Mark Baker
authored
Issue 2551 array enable lookup ref functions (#2606)
* Start work on array-enabling the Lookup and Reference functions Requires a new method (`evaluateArrayArgumentsSubsetFrom()`) in the `ArrayEnabled` Trait to handle functions where the arguments that need special array handling are trailing rather than leading arguments
1 parent c10d86e commit 71927f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function providerCOLUMNS(): array
3333
/**
3434
* @dataProvider providerColumnsArray
3535
*/
36-
public function testColumnsArray($expectedResult, string $argument): void
36+
public function testColumnsArray(int $expectedResult, string $argument): void
3737
{
3838
$calculation = Calculation::getInstance();
3939

tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function providerROWS(): array
3333
/**
3434
* @dataProvider providerRowsArray
3535
*/
36-
public function testRowsArray($expectedResult, string $argument): void
36+
public function testRowsArray(int $expectedResult, string $argument): void
3737
{
3838
$calculation = Calculation::getInstance();
3939

0 commit comments

Comments
 (0)