It's derived from \MongoCollection and there:

	/**
	 * @var MongoDB
	 */
	public $db = NULL ;

So the access must be public or weaker in derived classes. Again, this is not breaking anything.