From b897c2ae5a1bea39a6f8c7f2fce67fcf35833da2 Mon Sep 17 00:00:00 2001 From: filip Date: Fri, 13 Sep 2024 20:44:29 +0200 Subject: [PATCH] Fix typo in set docs --- docs/set.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/set.md b/docs/set.md index bdeac58..cb98a93 100644 --- a/docs/set.md +++ b/docs/set.md @@ -26,7 +26,7 @@ $set = Set::of('alpha'); $set2 = $set->add('beta'); $set3 = $set2->remove('beta'); -$set->contains('alhpa'); // true +$set->contains('alpha'); // true ``` If given `$element` already exists in set, same instance will be returned.