Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mercure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down