Dylan K. Taylor 3ea8da2dd3 Use EnumTrait->equals() instead of direct comparison
It's not guaranteed that objects provided are the same as those in the enum registry, so they can't be directly compared.

Implementing comparison with === would require some kind of __equals() implementation or an extension to hook into such functionality.
2019-05-24 17:21:44 +01:00
..
2019-04-03 18:06:22 +01:00
2018-06-10 17:18:55 +01:00
2019-03-22 15:01:11 +00:00