Skip to content

Commit e168145

Browse files
committed
Better EnumSet and EnumMap class descriptions
1 parent fda7bfb commit e168145

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/EnumMap.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
use InvalidArgumentException;
77

88
/**
9-
* EnumMap implementation in base of SplObjectStorage
9+
* A map of enumerator keys of the given enumeration (EnumMap<T>)
10+
* based on SplObjectStorage
1011
*
1112
* @link http://github.com/marc-mabe/php-enum for the canonical source repository
1213
* @copyright Copyright (c) 2017 Marc Bennewitz

src/EnumSet.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
use InvalidArgumentException;
88

99
/**
10-
* This EnumSet is based on a bitset of a binary string.
10+
* A set of enumerators of the given enumeration (EnumSet<T>)
11+
* based on an integer or binary bitset depending of given enumeration size.
1112
*
1213
* @link http://github.com/marc-mabe/php-enum for the canonical source repository
1314
* @copyright Copyright (c) 2017 Marc Bennewitz

0 commit comments

Comments
 (0)