8000 Merge branch '5.0' · symfony/symfony-docs@b12d0ba · GitHub
[go: up one dir, main page]

Skip to content

Commit b12d0ba

Browse files
committed
Merge branch '5.0'
* 5.0: fix Mercure PublisherStub should be implement PublisherInterface
2 parents 889cfe5 + ea5b5d9 commit b12d0ba

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)
0