From 3af1b15f483c2013396f9ef584e9cef560bc648c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Jun 2026 19:19:04 +0000 Subject: [PATCH] fix: add missing array $headers parameter to output() overrides in tests --- tests/Feature/ApiRequestMatrixTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Feature/ApiRequestMatrixTest.php b/tests/Feature/ApiRequestMatrixTest.php index 10e4389e5..969fea254 100644 --- a/tests/Feature/ApiRequestMatrixTest.php +++ b/tests/Feature/ApiRequestMatrixTest.php @@ -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'); }