Skip to content

Commit b441e64

Browse files
committed
fix: widen parameter type to mixed to accept other Json serializables
1 parent b96af19 commit b441e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MatchesSnapshots.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function assertMatchesHtmlSnapshot(string $actual): void
8989
$this->assertMatchesSnapshot($actual, new HtmlDriver);
9090
}
9191

92-
public function assertMatchesJsonSnapshot(array|string|null|int|float|bool $actual): void
92+
public function assertMatchesJsonSnapshot($actual): void
9393
{
9494
$this->assertMatchesSnapshot($actual, new JsonDriver);
9595
}

0 commit comments

Comments
 (0)