diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index 8bbfd52bbba..4ab534a4cee 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -72,9 +72,6 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory /** @var mixed[] */ private $embeddablesActiveNesting = []; - /** - * @param EntityManagerInterface $em - */ public function setEntityManager(EntityManagerInterface $em) { $this->em = $em; diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php index 4521c6f0c9d..cafb0de7257 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php @@ -77,7 +77,10 @@ interface DDC3300Boss /** @Entity */ class DDC3300HumanBoss extends DDC3300Person implements DDC3300Boss { - /** @Column(type="string") */ + /** + * @var string + * @Column(type="string") + */ public $bossCol; public function __construct($bossCol) @@ -93,7 +96,10 @@ interface DDC3300Employee /** @Entity */ class DDC3300HumanEmployee extends DDC3300Person implements DDC3300Employee { - /** @Column(type="string") */ + /** + * @var string + * @Column(type="string") + */ public $employeeCol; public function __construct($employeeCol)