mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 03:59:11 +00:00
Merge pull request #2694 from PHPOffice/Implementation-of-UNIQUE()-Function
Fix scrutinizer issue complaint
This commit is contained in:
@@ -11,9 +11,9 @@ class UniqueTest extends TestCase
|
||||
/**
|
||||
* @dataProvider uniqueTestProvider
|
||||
*/
|
||||
public function testUnique(array $expectedResult, ...$args): void
|
||||
public function testUnique(array $expectedResult, array $lookupRef, bool $byColumn = false, bool $exactlyOnce = false): void
|
||||
{
|
||||
$result = LookupRef\Unique::unique(...$args);
|
||||
$result = LookupRef\Unique::unique($lookupRef, $byColumn, $exactlyOnce);
|
||||
self::assertEquals($expectedResult, $result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user