From e827c34253024d84917f0f35935b2e1916311ecd Mon Sep 17 00:00:00 2001 From: Anton Smirnov Date: Wed, 14 Feb 2018 21:16:21 +0200 Subject: [PATCH] Avoid too long lines in README examples --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a2b2a4..87a11f1 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,9 @@ use SandFoxMe\Bencode\Types\ListType; $encoded = Bencode::encode(new ListType(new ArrayObject([1,2,3]))); // "li1ei2ei3ee" // other objects will be converted to string if possible or generate an error if not -$encoded = Bencode::encode(new class { function __toString() { return 'I am string'; } }); // "11:I am string" +$encoded = Bencode::encode(new class { + function __toString() { return 'I am string'; } +}); // "11:I am string" ``` ### BencodeSerializable