Skip to content

Commit ee57fff

Browse files
authored
Merge pull request #139 from kevinlelo/fix/typos
Fix some typos in README.md
2 parents e6113cf + 88f92c0 commit ee57fff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,15 @@ An `EnumSet` is a specialized Set implementation for use with enumeration types.
208208
All of the enumerators in an `EnumSet` must come from a single enumeration type that is specified, when the set is
209209
created.
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
214214
ordinal number by design.
215215

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 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
222222
use MabeEnum\EnumSet;

0 commit comments

Comments
 (0)