Skip to content

Commit 3bfedc0

Browse files
authored
Merge pull request #2123 from alcaeus/remove-useless-internal
Remove unneceesary internal designations
2 parents e04f5ff + 1463a78 commit 3bfedc0

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

lib/Doctrine/ODM/MongoDB/DocumentManager.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ public function getSchemaManager()
283283
*
284284
* @param string $className The class name.
285285
* @return \Doctrine\ODM\MongoDB\Mapping\ClassMetadata
286-
* @internal Performance-sensitive method.
287286
*/
288287
public function getClassMetadata($className)
289288
{

lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,9 +578,6 @@ public function slice($offset, $length = null)
578578
/**
579579
* Called by PHP when this collection is serialized. Ensures that the
580580
* internal state of the collection can be reproduced after serialization
581-
*
582-
* @internal Tried to implement Serializable first but that did not work well
583-
* with circular references. This solution seems simpler and works well.
584581
*/
585582
public function __sleep()
586583
{

lib/Doctrine/ODM/MongoDB/UnitOfWork.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,6 @@ public function detach($document)
20472047
*
20482048
* @param object $document
20492049
* @param array $visited
2050-
* @internal This method always considers documents with an assigned identifier as DETACHED.
20512050
*/
20522051
private function doDetach($document, array &$visited)
20532052
{
@@ -2697,7 +2696,6 @@ public function getClassNameForAssociation(array $mapping, $data)
26972696
* @param array $hints Any hints to account for during reconstitution/lookup of the document.
26982697
* @param object $document The document to be hydrated into in case of creation
26992698
* @return object The document instance.
2700-
* @internal Highly performance-sensitive method.
27012699
*/
27022700
public function getOrCreateDocument($className, $data, &$hints = array(), $document = null)
27032701
{

0 commit comments

Comments
 (0)