Browse Source

Fix function signature to match PHP's function.

ADmad 6 years ago
parent
commit
611d173f04
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Http/server_mocks.php

+ 1 - 1
tests/TestCase/Http/server_mocks.php

@@ -6,7 +6,7 @@ declare(strict_types=1);
  */
 namespace Cake\Http;
 
-function headers_sent()
+function headers_sent(&$file = null, &$line = null)
 {
     return $GLOBALS['mockedHeadersSent'] ?? true;
 }