We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 425ac50 commit a502c13Copy full SHA for a502c13
1 file changed
src/renderResponse.php
@@ -12,7 +12,9 @@
12
*
13
* @deprecated 3.1.0 Use ResponseRenderer instead
14
*/
15
-function renderResponse(ResponseInterface $response)
16
-{
17
- ResponseRenderer::render($response);
+if (!function_exists(__NAMESPACE__.'\renderResponse')) {
+ function renderResponse(ResponseInterface $response)
+ {
18
+ ResponseRenderer::render($response);
19
+ }
20
}
0 commit comments