From f2bf24994c9bc2340015f14aa43751a106f829e4 Mon Sep 17 00:00:00 2001 From: Haylan Date: Tue, 7 Jul 2026 13:31:44 +0200 Subject: [PATCH] test(provider): update ProbeTraitTest stub for split fetch API The anonymous ProviderInterface implementation needs startFetch()/ resolveFetch() instead of fetch() to stay loadable. --- tests/Unit/Service/Provider/ProbeTraitTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Unit/Service/Provider/ProbeTraitTest.php b/tests/Unit/Service/Provider/ProbeTraitTest.php index e64c706..97ae24b 100644 --- a/tests/Unit/Service/Provider/ProbeTraitTest.php +++ b/tests/Unit/Service/Provider/ProbeTraitTest.php @@ -31,7 +31,8 @@ final class ProbeTraitTest extends TestCase public function isConfigured(): bool { return $this->configured; } public function getName(): string { return 'test'; } public function ping(): void { ($this->ping)(); } - public function fetch(): array { return []; } + public function startFetch(): mixed { return null; } + public function resolveFetch(mixed $handle): array { return []; } }; }