Skip to content

Commit 5a8b2af

Browse files
committed
readme update
1 parent 4e6bfcf commit 5a8b2af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ ordinal number by design.
216216
It implements `IteratorAggregate` and `Countable` to be directly iterable with `foreach` and countable with `count()`.
217217

218218
The `EnumSet` has a mutable and an immutable interface.
219-
Mutable methods start with `set` or `remove` while immutable methods start with `with`.
219+
Mutable methods start with `set`, `add` or `remove` while immutable methods start with `with`.
220220

221221
```php
222222
use MabeEnum\EnumSet;
@@ -254,7 +254,7 @@ $enumSet = $enumSet->without(UserStatus::INACTIVE);
254254
$enumSet = $enumSet->without(UserStatus::DELETED());
255255

256256

257-
// Tests if an enumerator exists (by value or by instance)
257+
// Test if an enumerator exists (by value or by instance)
258258
$enumSet->has(UserStatus::INACTIVE); // bool
259259

260260

0 commit comments

Comments
 (0)