Commit 28cbc5d
Remove wrong parameter in MockHub
There is no parameter in `MockHub` to specify the hub name (`default`)
`MockHub` constructor : https://github.com/symfony/mercure/blob/main/src/MockHub.php#L30-L35
```php
/**
* @param (callable(Update): string) $publisher
*/
public function __construct(
string $url,
TokenProviderInterface $jwtProvider,
callable $publisher,
TokenFactoryInterface $jwtFactory = null,
string $publicUrl = null
)
```1 parent d3974e2 commit 28cbc5d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| |||
0 commit comments