File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ class EnumSet implements Iterator, Countable
48
48
/**
49
49
* Constructor
50
50
*
51
- * @param string $enumClass The classname of an enumeration the map is for
51
+ * @param string $enumClass The classname of an enumeration the set is for
52
52
* @param null|int $flags Flags to define behaviours
53
53
* @throws InvalidArgumentException
54
54
*/
55
55
public function __construct ($ enumClass , $ flags = null )
56
56
{
57
57
if (!is_subclass_of ($ enumClass , __NAMESPACE__ . '\Enum ' )) {
58
58
throw new InvalidArgumentException (sprintf (
59
- "This EnumMap can handle subclasses of '%s' only " ,
59
+ "This EnumSet can handle subclasses of '%s' only " ,
60
60
__NAMESPACE__ . '\Enum '
61
61
));
62
62
}
@@ -68,7 +68,7 @@ public function __construct($enumClass, $flags = null)
68
68
}
69
69
70
70
/**
71
- * Get the classname of enumeration this map is for
71
+ * Get the classname of enumeration this set is for
72
72
* @return string
73
73
*/
74
74
public function getEnumClass ()
You can’t perform that action at this time.
0 commit comments