From f2851c83feea09f4cef0e125c603019624af59cb Mon Sep 17 00:00:00 2001 From: smiley Date: Sat, 14 Mar 2026 21:11:21 +0100 Subject: [PATCH] :octocat: DataInterfaceTestAbstract: match DataProvider input arguments --- tests/Data/DataInterfaceTestAbstract.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Data/DataInterfaceTestAbstract.php b/tests/Data/DataInterfaceTestAbstract.php index ca5010e5a..ab73471b5 100644 --- a/tests/Data/DataInterfaceTestAbstract.php +++ b/tests/Data/DataInterfaceTestAbstract.php @@ -176,7 +176,7 @@ abstract class DataInterfaceTestAbstract extends TestCase{ #[Test] #[DataProvider('maxLengthProvider')] - public function maxLength(Version $version, EccLevel $eccLevel, string $str):void{ + public function maxLength(Version $version, EccLevel $eccLevel, string $str, string $str1, int $len):void{ $options = new QROptions; $options->version = $version->getVersionNumber(); $options->eccLevel = $eccLevel->getLevel(); @@ -195,7 +195,7 @@ abstract class DataInterfaceTestAbstract extends TestCase{ */ #[Test] #[DataProvider('maxLengthProvider')] - public function getMinimumVersion(Version $version, EccLevel $eccLevel, string $str):void{ + public function getMinimumVersion(Version $version, EccLevel $eccLevel, string $str, string $str1, int $len):void{ $options = new QROptions; $options->version = Version::AUTO; $options->eccLevel = $eccLevel->getLevel(); @@ -226,7 +226,7 @@ abstract class DataInterfaceTestAbstract extends TestCase{ */ #[Test] #[DataProvider('maxLengthProvider')] - public function maxLengthOverflowException(Version $version, EccLevel $eccLevel, string $str, string $str1):void{ + public function maxLengthOverflowException(Version $version, EccLevel $eccLevel, string $str, string $str1, int $len):void{ $this->expectException(QRCodeDataException::class); $this->expectExceptionMessage('code length overflow');