[README] Match examples

This commit is contained in:
Gabriel Caruso 2018-01-07 23:10:10 -02:00 committed by GitHub
parent 864e20b57b
commit 12b8b571e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,12 +329,12 @@ For example:
```diff
- $result = (string) $someValue;
+ $result = $someValue->someMethod();
+ $result = $someValue->getPath();
```
```diff
- $result = $someValue->__toString();
+ $result = $someValue->someMethod();
+ $result = $someValue->getPath();
```
## Coding Standards are Outsourced