Skip to content

Commit 901f121

Browse files
committed
fix mixed return type with PHP 7.4
1 parent 3ce9d44 commit 901f121

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/Unit/Input/RequestStringInputTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ public function testGetAsObjectFromStringReturnsObject(): void
2626

2727
/**
2828
* @dataProvider jsonValuesProviderWithoutString
29+
*
30+
* @param mixed $input
2931
*/
30-
public function testCreateWithoutStringThrowsException(mixed $input): void
32+
public function testCreateWithoutStringThrowsException($input): void
3133
{
3234
$this->expectException(InputException::class);
3335
$this->expectExceptionMessage(

tests/Unit/Input/ResponseStringInputTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ public function testGetAsObjectFromStringReturnsObject(): void
2626

2727
/**
2828
* @dataProvider jsonValuesProviderWithoutString
29+
*
30+
* @param mixed $input
2931
*/
30-
public function testCreateWithoutStringThrowsException(mixed $input): void
32+
public function testCreateWithoutStringThrowsException($input): void
3133
{
3234
$this->expectException(InputException::class);
3335
$this->expectExceptionMessage(

0 commit comments

Comments
 (0)