From 1f9f704c242e4a0c19f40e084d399f6fd9c6f5c8 Mon Sep 17 00:00:00 2001 From: Ollie Wells Date: Mon, 18 Mar 2024 16:51:04 +0000 Subject: [PATCH] Update checks for UrlMatcher --- .vscode/settings.json | 2 +- src/Matchers/UrlMatcher.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 90d7418..ba834fd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.codeActionsOnSave": { - "source.fixAll.stylelint": true + "source.fixAll.stylelint": "explicit" }, "prettier.enable": true, "editor.defaultFormatter": "esbenp.prettier-vscode", diff --git a/src/Matchers/UrlMatcher.php b/src/Matchers/UrlMatcher.php index e882f42..204c66a 100644 --- a/src/Matchers/UrlMatcher.php +++ b/src/Matchers/UrlMatcher.php @@ -43,7 +43,7 @@ private function requestBodyDifferent(RequestInterface $request): bool return false; } - return $this->body !== $request->getBody()->getContents(); + return $this->body != $request->getBody()->getContents(); } private function requestMethodDifferent(RequestInterface $request): bool