File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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.
208208All of the enumerators in an ` EnumSet ` must come from a single enumeration type that is specified, when the set is
209209created.
210210
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
214214ordinal number by design.
215215
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 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 ` .
220220
221221``` php
222222use MabeEnum\EnumSet;
You can’t perform that action at this time.
0 commit comments