Skip to content

Commit a511e72

Browse files
Rename parameter
1 parent c08a798 commit a511e72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Framework/Assert.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,9 +1824,9 @@ final public static function assertThat(mixed $value, Constraint $constraint, st
18241824
*
18251825
* @throws ExpectationFailedException
18261826
*/
1827-
final public static function assertJson(string $actualJson, string $message = ''): void
1827+
final public static function assertJson(string $actual, string $message = ''): void
18281828
{
1829-
static::assertThat($actualJson, static::isJson(), $message);
1829+
static::assertThat($actual, static::isJson(), $message);
18301830
}
18311831

18321832
/**

src/Framework/Assert/Functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@ function assertThat(mixed $value, Constraint $constraint, string $message = ''):
20952095
*
20962096
* @see Assert::assertJson
20972097
*/
2098-
function assertJson(string $actualJson, string $message = ''): void
2098+
function assertJson(string $actual, string $message = ''): void
20992099
{
21002100
Assert::assertJson(...func_get_args());
21012101
}

0 commit comments

Comments
 (0)