Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge release 2.0.3 into master #2126

Merged
merged 4 commits into from
Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/Doctrine/ODM/MongoDB/DocumentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,6 @@ public function getClassNameResolver() : ClassNameResolver
/**
* Returns the metadata for a class.
*
* @internal Performance-sensitive method.
*
* @param string $className The class name.
*/
public function getClassMetadata($className) : ClassMetadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,6 @@ public function slice($offset, $length = null)
/**
* Called by PHP when this collection is serialized. Ensures that the
* internal state of the collection can be reproduced after serialization
*
* @internal Tried to implement Serializable first but that did not work well
* with circular references. This solution seems simpler and works well.
*/
public function __sleep()
{
Expand Down
4 changes: 0 additions & 4 deletions lib/Doctrine/ODM/MongoDB/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -1891,8 +1891,6 @@ public function detach(object $document) : void

/**
* Executes a detach operation on the given document.
*
* @internal This method always considers documents with an assigned identifier as DETACHED.
*/
private function doDetach(object $document, array &$visited) : void
{
Expand Down Expand Up @@ -2531,8 +2529,6 @@ public function getClassNameForAssociation(array $mapping, $data) : string

/**
* Creates a document. Used for reconstitution of documents during hydration.
*
* @internal
*/
public function getOrCreateDocument(string $className, array $data, array &$hints = [], ?object $document = null) : object
{
Expand Down