Skip to content

Commit ee85282

Browse files
VincentLangletfabpot
authored andcommitted
Use Stringable interface as much as possible
1 parent 7b03d9b commit ee85282

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
@@ -24,12 +24,10 @@
2424
*
2525
* @author Fabien Potencier <[email protected]>
2626
*/
27-
interface TransportInterface
27+
interface TransportInterface extends \Stringable
2828
{
2929
/**
3030
* @throws TransportExceptionInterface
3131
*/
3232
public function send(RawMessage $message, Envelope $envelope = null): ?SentMessage;
33-
34-
public function __toString(): string;
3533
}

0 commit comments

Comments
 (0)