mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
fix: add missing array $headers parameter to output() overrides in tests
This commit is contained in:
committed by
GitHub
parent
c277fa461f
commit
3af1b15f48
@@ -139,7 +139,7 @@ class ApiRequestMatrixTest extends TestCase
|
||||
*/
|
||||
public ?array $capturedOutput = null;
|
||||
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '')
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '', array $headers = [])
|
||||
{
|
||||
$this->capturedOutput = [
|
||||
'data' => $data,
|
||||
@@ -178,7 +178,7 @@ class ApiRequestMatrixTest extends TestCase
|
||||
*/
|
||||
public ?array $capturedOutput = null;
|
||||
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '')
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '', array $headers = [])
|
||||
{
|
||||
$this->capturedOutput = [
|
||||
'data' => $data,
|
||||
@@ -231,7 +231,7 @@ class ApiRequestMatrixTest extends TestCase
|
||||
*/
|
||||
public ?array $capturedOutput = null;
|
||||
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '')
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '', array $headers = [])
|
||||
{
|
||||
$this->capturedOutput = [
|
||||
'data' => $data,
|
||||
@@ -284,7 +284,7 @@ class ApiRequestMatrixTest extends TestCase
|
||||
*/
|
||||
public ?array $capturedOutput = null;
|
||||
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '')
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '', array $headers = [])
|
||||
{
|
||||
$this->capturedOutput = [
|
||||
'data' => $data,
|
||||
@@ -336,7 +336,7 @@ class ApiRequestMatrixTest extends TestCase
|
||||
{
|
||||
public ?array $capturedOutput = null;
|
||||
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '')
|
||||
public function output(mixed $data, array $params, bool $xml, int $offset, string $type = '', array $headers = [])
|
||||
{
|
||||
$this->capturedOutput = compact('data', 'params', 'xml', 'offset', 'type');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user