File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -208,15 +208,15 @@ An `EnumSet` is a specialized Set implementation for use with enumeration types.
208
208
All of the enumerators in an ` EnumSet ` must come from a single enumeration type that is specified, when the set is
209
209
created.
210
210
211
- Enum sets are represented internally as bit vectors. The bit vektor is eigther an integer type or a binary string type
212
- depending on how many enumerators are defined is the enumeration type. This representation is extremely compact and
213
- efficient. Bulk operations will run very quickly. Enumerators of an ` EnumSet ` are unique and ordered based on it's
211
+ Enum sets are represented internally as bit vectors. The bit vector is either an integer type or a binary string type
212
+ depending on how many enumerators are defined in the enumeration type. This representation is extremely compact and
213
+ efficient. Bulk operations will run very quickly. Enumerators of an ` EnumSet ` are unique and ordered based on its
214
214
ordinal number by design.
215
215
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 starts with ` set ` or ` remove ` where immutable methods starts with ` with ` .
219
+ Mutable methods start with ` set ` or ` remove ` while immutable methods start with ` with ` .
220
220
221
221
``` php
222
222
use MabeEnum\EnumSet;
You can’t perform that action at this time.
0 commit comments