File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class ResponseBuilder implements ResponseBuilderInterface
3636 private $ domainAliases ;
3737
3838 /**
39- * @var \Http\Message\MessageFactory
39+ * @var \Http\Message\ResponseFactory
4040 */
4141 private $ responseFactory ;
4242
@@ -109,9 +109,8 @@ protected function getMockStatusForRequest(RequestInterface $request): int
109109
110110 return (int )file_get_contents ($ file );
111111 } catch (MockNotFoundException $ e ) {
112+ return 200 ;
112113 }
113-
114- return 200 ;
115114 }
116115
117116 /**
@@ -128,9 +127,8 @@ protected function getMockHeadersForRequest(RequestInterface $request): array
128127
129128 return json_decode (file_get_contents ($ file ), true );
130129 } catch (MockNotFoundException $ e ) {
130+ return [];
131131 }
132-
133- return [];
134132 }
135133
136134 /**
You can’t perform that action at this time.
0 commit comments