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.
216
216
It implements ` IteratorAggregate ` and ` Countable ` to be directly iterable with ` foreach ` and countable with ` count() ` .
217
217
218
218
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 ` .
220
220
221
221
``` php
222
222
use MabeEnum\EnumSet;
@@ -254,7 +254,7 @@ $enumSet = $enumSet->without(UserStatus::INACTIVE);
254
254
$enumSet = $enumSet->without(UserStatus::DELETED());
255
255
256
256
257
- // Tests if an enumerator exists (by value or by instance)
257
+ // Test if an enumerator exists (by value or by instance)
258
258
$enumSet->has(UserStatus::INACTIVE); // bool
259
259
260
260
You can’t perform that action at this time.
0 commit comments