mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-21 15:49:26 +00:00
Scrutinizer really sucks!!!
Stop a few of scrutinizers complaints about 100% valid use of PHP variadics. Hopefully, this issue will cease to be an issue when we can specify mixed datatype for variadic arguments in the tests
This commit is contained in:
@@ -23,7 +23,7 @@ class Days360Test extends TestCase
|
||||
*/
|
||||
public function testDirectCallToDAYS360($expectedResult, ...$args): void
|
||||
{
|
||||
$result = Days360::between(...$args);
|
||||
$result = Days360::between(/** @scrutinizer ignore-type */ ...$args);
|
||||
self::assertSame($expectedResult, $result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user