marc-mabe / php-enum

Simple and fast implementation of enumerations with native PHP
BSD 3-Clause "New" or "Revised" License
464 stars 36 forks source link

EnumSet::attach has an unsed second argument $data #30

Closed marc-mabe closed 10 years ago

marc-mabe commented 10 years ago

The second argument of EnumSet::attach($enum, $data = null) isn't used and doesn't make sense.