From d6055795a9e88053e68c41685c0d6c2de4696022 Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Sun, 26 Nov 2023 19:44:17 +0400 Subject: [PATCH] Fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 357eb991..0b00d129 100644 --- a/README.md +++ b/README.md @@ -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); ``` ---