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-05-24 17:21:44 +01:00
2019-05-24 17:21:44 +01:00
2019-05-20 15:31:23 +01:00
2019-05-19 16:02:03 +01:00
2019-05-20 16:45:00 +01:00
2019-05-16 14:35:34 +01:00
2019-03-10 11:20:51 +00:00
2019-05-07 14:47:28 +01:00
2019-05-24 17:21:44 +01:00
2019-05-13 18:17:42 +01:00
2019-04-12 19:51:43 +01:00
2019-03-02 10:29:11 +00:00
2019-05-07 19:49:06 +01:00
2019-05-19 16:36:38 +01:00
2019-05-07 14:47:28 +01:00
2019-04-18 18:58:31 +01:00
2019-05-07 14:47:28 +01:00
2019-03-02 10:29:11 +00:00
2019-05-24 17:21:44 +01:00
2019-03-27 18:28:40 +00:00
2019-03-31 16:19:36 +01:00
2019-03-02 10:29:11 +00:00
2019-05-07 14:47:28 +01:00
2019-03-02 10:29:11 +00:00
2019-05-24 17:21:44 +01:00
2019-03-23 10:13:14 +00:00
2019-04-26 12:30:24 +01:00
2019-05-24 17:21:44 +01:00
2019-03-02 10:29:11 +00:00
2019-03-02 10:29:11 +00:00
2019-05-02 17:13:50 +01:00
2019-03-02 10:29:11 +00:00