Skip to content

Commit 598f1c1

Browse files
committed
fix Mercure PublisherStub should be implement PublisherInterface
1 parent df52e62 commit 598f1c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mercure.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,10 @@ be handled by a stub publisher::
551551
// tests/Functional/Fixtures/PublisherStub.php
552552
namespace App\Tests\Functional\Fixtures;
553553

554+
use Symfony\Component\Mercure\PublisherInterface;
554555
use Symfony\Component\Mercure\Update;
555556

556-
class PublisherStub
557+
class PublisherStub implements PublisherInterface
557558
{
558559
public function __invoke(Update $update): string
559560
{

0 commit comments

Comments
 (0)