Skip to content

Commit ea5b5d9

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: fix Mercure PublisherStub should be implement PublisherInterface
2 parents 6f2b879 + d4a2013 commit ea5b5d9

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)