I get in PHP this error:
Fatal error: Uncaught Error: Call to undefined method MongoDB\Driver\Cursor::current()`.
Which seems to be in contradiction with the documentation.
I can show my code but, well, I call the method current() for a MongoDB cursor.