From 598f1c13268674a8e79cfb59220fa59d7351656c Mon Sep 17 00:00:00 2001 From: Vadim Bondarenko Date: Wed, 26 Feb 2020 22:52:22 +0200 Subject: [PATCH] fix Mercure PublisherStub should be implement PublisherInterface --- mercure.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mercure.rst b/mercure.rst index cebcc11eeb0..f6250e90c61 100644 --- a/mercure.rst +++ b/mercure.rst @@ -551,9 +551,10 @@ be handled by a stub publisher:: // tests/Functional/Fixtures/PublisherStub.php namespace App\Tests\Functional\Fixtures; + use Symfony\Component\Mercure\PublisherInterface; use Symfony\Component\Mercure\Update; - class PublisherStub + class PublisherStub implements PublisherInterface { public function __invoke(Update $update): string {