Skip to content

Commit d4a2013

Browse files
committed
bug #13262 fix Mercure PublisherStub should be implement PublisherInterface (vadim2991)
This PR was merged into the 4.4 branch. Discussion ---------- fix Mercure PublisherStub should be implement PublisherInterface Commits ------- 598f1c1 fix Mercure PublisherStub should be implement PublisherInterface
2 parents 986cdd0 + 598f1c1 commit d4a2013

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)