From c20cf930f2037ddda4400dd7d35bf9ef707356eb Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 6 Apr 2025 17:33:56 +0200 Subject: [PATCH] Lint --- src/Fakes/Fake.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Fakes/Fake.php b/src/Fakes/Fake.php index 91af1d4..c4af9e3 100644 --- a/src/Fakes/Fake.php +++ b/src/Fakes/Fake.php @@ -57,6 +57,9 @@ abstract class Fake return Http::response(''); } + /** + * @param array|callable $should + */ public function assertBodyMatches(string $is, array|callable $should): bool { $requestBody = json_decode($is, true);