Skip to content

Commit 6152adb

Browse files
committed
use Assert::assertArrayHasKey instead for psalm check
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
1 parent ce6c948 commit 6152adb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ProblemDetailsResponseFactoryTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ public function testRenderWithMalformedUtf8Sequences(): void
469469
$stream = $this->createMock(StreamInterface::class);
470470
$this->preparePayloadForJsonResponse(
471471
$stream,
472-
static function (): void {
473-
Assert::arrayHasKey('malformed-utf8');
472+
static function (array $payload): void {
473+
Assert::assertArrayHasKey('malformed-utf8', $payload);
474474
}
475475
);
476476

0 commit comments

Comments
 (0)