Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Nov 26, 2023
1 parent 4a5fe41 commit d605579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ foreach ($veryLargeArray as $item) {
trap($item)->times(3);
}

// Dump only if the condition is true
trap($animal)->once()->if($var instanceof Anumal\Cat);
// Dump once if the condition is true
trap($animal)->once()->if($var instanceof Animal\Cat);
```

---
Expand Down

0 comments on commit d605579

Please sign in to comment.