Skip to content

Commit

Permalink
Fix function signature to match PHP's function.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Oct 25, 2019
1 parent 16668ca commit 611d173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Http/server_mocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
namespace Cake\Http;

function headers_sent()
function headers_sent(&$file = null, &$line = null)
{
return $GLOBALS['mockedHeadersSent'] ?? true;
}
Expand Down

0 comments on commit 611d173

Please sign in to comment.