File tree 1 file changed +3
-5
lines changed
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
36
36
private $ domainAliases ;
37
37
38
38
/**
39
- * @var \Http\Message\MessageFactory
39
+ * @var \Http\Message\ResponseFactory
40
40
*/
41
41
private $ responseFactory ;
42
42
@@ -109,9 +109,8 @@ protected function getMockStatusForRequest(RequestInterface $request): int
109
109
110
110
return (int )file_get_contents ($ file );
111
111
} catch (MockNotFoundException $ e ) {
112
+ return 200 ;
112
113
}
113
-
114
- return 200 ;
115
114
}
116
115
117
116
/**
@@ -128,9 +127,8 @@ protected function getMockHeadersForRequest(RequestInterface $request): array
128
127
129
128
return json_decode (file_get_contents ($ file ), true );
130
129
} catch (MockNotFoundException $ e ) {
130
+ return [];
131
131
}
132
-
133
- return [];
134
132
}
135
133
136
134
/**
You can’t perform that action at this time.
0 commit comments