diff --git a/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php b/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php index e6cade2eb..f6c004e5d 100644 --- a/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php +++ b/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php @@ -184,7 +184,7 @@ abstract class AbstractCollectionPersister * Check for existance of an element * * @param \Doctrine\ORM\PersistentCollection $coll - * @param \Doctrine\ORM\PersistentCollection + * @param object $element * * @return boolean */ @@ -237,7 +237,7 @@ abstract class AbstractCollectionPersister * @param \Doctrine\ORM\PersistentCollection $coll * @param mixed $index * - * @return object + * @return mixed */ public function get(PersistentCollection $coll, $index) { diff --git a/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php b/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php index 19988fb6c..bf03a744a 100644 --- a/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php +++ b/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php @@ -646,7 +646,6 @@ class BasicEntityPersister $result[$owningTable][$sourceColumn] = $value; } - } return $result;