1👍
✅
The unit test for that code indicates that this was added to satisfy ticket 12462. As to whether this is correct, it is not clear what the code calling these functions this way would have been expecting. But since you know how it works, you can plan accordingly.
Source:stackexchange.com