Missing Semicolon
Merge pull request #569 from twhitney11/patch-1

Missing Semicolon
Fix return type in docblocks for setter methods (closes #575)

The previous value was the document's class name with its namespace removed and a backslash prefix, which would likely not match anything in the global namespace. Using "self" is more appropriate.
Fix field annotation wrong name
Merge pull request #578 from mahmouds/patch-1

Fix field annotation wrong name
Fixed some typos on basic-mapping.rst
Merge pull request #581 from eagleoneraptor/patch-1

Fixed some typos on basic-mapping.rst
CS and documentation fixes

Updated docs to support IDE autocompletion and hinting. Re-ordered "use" statements, and removed unnecessary ones. Fixed some class references (e.g. "InvalidArgumentException" becomes "\InvalidArgumentException").

Additional revisions from @jmikola. Closes #549
Remove unused args/code in UnitOfWork::doMerge()
Refactor if/else in DocumentRepository::find()
Throw exception if removed document encountered during flush

Fixes c8fafa99c7fb6733d604ee2378de477833e53e9a
Merge pull request #582 from doctrine/gh549-cs-doc-updates

CS/doc fixes and code cleanup
missing loggable cursor

throwing an error
Merge pull request #583 from tpae/master

Added use Doctrine\ODM\MongoDB\LoggableCursor; in DocumentPersister
Strip leading backslash for doc classes in DocumentManager

Related to: doctrine/doctrine2@0424d870999c9fb0a044a8b5773f250376d2368f

See: #585 and #586
Fix several instances of doubled words
Merge pull request #590 from jbafford/doubled-words-fix

Fix several instances of doubled words in the documentation
Prepare projections in Query\Builder
Fix sort/limit/skip preparation in DocumentPersister load methods

Previously, load() and loadAll() did not prepare sort criteria before applying it to a base Cursor. The loadAll() method also only applied sort/limit/skip options to the base Cursor, which made them unavailable after wrapping. Also updated related doc blocks and renamed some arguments for consistency.

Fixes doctrine/DoctrineMongoODMModule#70
Regression test DocumentPersister::loadAll() and cursor recreation

See: doctrine/DoctrineMongoODMModule#70