Skip to content

Commit d89b0b7

Browse files
TransportFactoryInterface::createTransport signature is missing third mandatory SerializerInterface parameter
/** * Creates a Messenger transport. * * @author Samuel Roze <samuel.roze@gmail.com> */ interface TransportFactoryInterface { public function createTransport(string $dsn, array $options, SerializerInterface $serializer): TransportInterface; public function supports(string $dsn, array $options): bool; }
1 parent d9eae70 commit d89b0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messenger/custom-transport.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DSN. You will need a transport factory::
1717

1818
class YourTransportFactory implements TransportFactoryInterface
1919
{
20-
public function createTransport(string $dsn, array $options): TransportInterface
20+
public function createTransport(string $dsn, array $options, SerializerInterface $serializer): TransportInterface
2121
{
2222
return new YourTransport(/* ... */);
2323
}

0 commit comments

Comments
 (0)