There was an error while loading. Please reload this page.
1 parent 47e4623 commit 82f18d9Copy full SHA for 82f18d9
1 file changed
src/ResponseBuilder.php
@@ -36,7 +36,7 @@ class ResponseBuilder implements ResponseBuilderInterface
36
private $domainAliases;
37
38
/**
39
- * @var \Http\Message\MessageFactory
+ * @var \Http\Message\ResponseFactory
40
*/
41
private $responseFactory;
42
@@ -109,9 +109,8 @@ protected function getMockStatusForRequest(RequestInterface $request): int
109
110
return (int)file_get_contents($file);
111
} catch (MockNotFoundException $e) {
112
+ return 200;
113
}
-
114
- return 200;
115
116
117
@@ -128,9 +127,8 @@ protected function getMockHeadersForRequest(RequestInterface $request): array
128
127
129
return json_decode(file_get_contents($file), true);
130
+ return [];
131
132
133
- return [];
134
135
136
0 commit comments