-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: laravel-5.8.0
-
Component/s: Laravel
-
None
-
None
-
PHP Drivers
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
As reported in https://github.com/mongodb/laravel-mongodb/issues/3518, on PHP and Laravel versions without a SortDirection enum, the logic currently fails as the match statement tries to resolve an enum case unconditionally.