File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ ordinal number by design.
216216It implements ` IteratorAggregate ` and ` Countable ` to be directly iterable with ` foreach ` and countable with ` count() ` .
217217
218218The ` 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
222222use 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
You can’t perform that action at this time.
0 commit comments