Skip to content

Commit f2851c8

Browse files
committed
:octocat: DataInterfaceTestAbstract: match DataProvider input arguments
1 parent 7587a5e commit f2851c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Data/DataInterfaceTestAbstract.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public static function maxLengthProvider():Generator{
176176

177177
#[Test]
178178
#[DataProvider('maxLengthProvider')]
179-
public function maxLength(Version $version, EccLevel $eccLevel, string $str):void{
179+
public function maxLength(Version $version, EccLevel $eccLevel, string $str, string $str1, int $len):void{
180180
$options = new QROptions;
181181
$options->version = $version->getVersionNumber();
182182
$options->eccLevel = $eccLevel->getLevel();
@@ -195,7 +195,7 @@ public function maxLength(Version $version, EccLevel $eccLevel, string $str):voi
195195
*/
196196
#[Test]
197197
#[DataProvider('maxLengthProvider')]
198-
public function getMinimumVersion(Version $version, EccLevel $eccLevel, string $str):void{
198+
public function getMinimumVersion(Version $version, EccLevel $eccLevel, string $str, string $str1, int $len):void{
199199
$options = new QROptions;
200200
$options->version = Version::AUTO;
201201
$options->eccLevel = $eccLevel->getLevel();
@@ -226,7 +226,7 @@ public function getMinimumVersion(Version $version, EccLevel $eccLevel, string $
226226
*/
227227
#[Test]
228228
#[DataProvider('maxLengthProvider')]
229-
public function maxLengthOverflowException(Version $version, EccLevel $eccLevel, string $str, string $str1):void{
229+
public function maxLengthOverflowException(Version $version, EccLevel $eccLevel, string $str, string $str1, int $len):void{
230230
$this->expectException(QRCodeDataException::class);
231231
$this->expectExceptionMessage('code length overflow');
232232

0 commit comments

Comments
 (0)