mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
[README] Match examples
This commit is contained in:
parent
864e20b57b
commit
12b8b571e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user