Skip to content

Commit afd9f3f

Browse files
committed
bug #602 Wrong class in deprecation message in MakeEntity (7ochem)
This PR was merged into the 1.0-dev branch. Discussion ---------- Wrong class in deprecation message in MakeEntity The deprecation message hints the Generator class, while the fifth argument is the EntityClassGenerator class Commits ------- 3902ab8 Wrong class in deprecation message in MakeEntity
2 parents b7117ea + 3902ab8 commit afd9f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Maker/MakeEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __construct(FileManager $fileManager, DoctrineHelper $doctrineHe
6363
}
6464

6565
if (null === $entityClassGenerator) {
66-
@trigger_error(sprintf('Passing a "%s" instance as 5th argument is mandatory since version 1.15.1', Generator::class), E_USER_DEPRECATED);
66+
@trigger_error(sprintf('Passing a "%s" instance as 5th argument is mandatory since version 1.15.1', EntityClassGenerator::class), E_USER_DEPRECATED);
6767
$this->entityClassGenerator = new EntityClassGenerator($generator, $this->doctrineHelper);
6868
} else {
6969
$this->entityClassGenerator = $entityClassGenerator;

0 commit comments

Comments
 (0)