Skip to content

Commit f1be4c4

Browse files
Fix namespace and import
1 parent 8257f44 commit f1be4c4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ parent for each subclass.
8181
###### Parent Class
8282

8383
```php
84-
use Camelot\DoctrineInheritanceMapping\Annotation\DiscriminatorEntry;
84+
<?php
85+
namespace App\Entity;
86+
87+
use Camelot\DoctrineInheritanceMapping\Annotation\DiscriminatorMapItem;
8588
use Doctrine\ORM\Mapping as ORM;
8689

8790
/**
@@ -102,7 +105,10 @@ optional, and has been omitted above for clarity.
102105
###### Child(ren) Class
103106

104107
```php
105-
use Camelot\DoctrineInheritanceMapping\Annotation\DiscriminatorEntry;
108+
<?php
109+
namespace App\Entity;
110+
111+
use Camelot\DoctrineInheritanceMapping\Annotation\DiscriminatorMapItem;
106112
use Doctrine\ORM\Mapping as ORM;
107113

108114
/**

0 commit comments

Comments
 (0)