Skip to content

Commit 3ac7700

Browse files
VincentLangletfabpot
authored andcommitted
Use Stringable interface as much as possible
1 parent a30aee1 commit 3ac7700

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Transport/TransportInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@
1818
/**
1919
* @author Fabien Potencier <fabien@symfony.com>
2020
*/
21-
interface TransportInterface
21+
interface TransportInterface extends \Stringable
2222
{
2323
/**
2424
* @throws TransportExceptionInterface
2525
*/
2626
public function send(MessageInterface $message): ?SentMessage;
2727

2828
public function supports(MessageInterface $message): bool;
29-
30-
public function __toString(): string;
3129
}

0 commit comments

Comments
 (0)