Skip to content

Commit

Permalink
Update mutators.md with new NullSafe mutators
Browse files Browse the repository at this point in the history
  • Loading branch information
sidz committed Dec 8, 2020
1 parent 717aa4d commit 6f9b997
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/guide/mutators.md
Expand Up @@ -201,6 +201,9 @@ infection.json:
| Coalesce | $foo ?? $bar | $bar ?? $foo |
| Concat | $foo . $bar | $bar . $foo |
| Ternary | isset($b) ? 'B' : 'C' | isset($b) ? 'C' : 'B' |
| NullSafeMethodCall | $object?->getObject() | $object->getObject() |
| NullSafePropertyCall | $object?->property | $object->property |


### Increments

Expand Down

0 comments on commit 6f9b997

Please sign in to comment.