File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,9 @@ parameters:
2
2
level : 8
3
3
checkMissingIterableValueType : false
4
4
treatPhpDocTypesAsCertain : false
5
- checkGenericClassInNonGenericObjectType : false
5
+ checkGenericClassInNonGenericObjectType : false
6
+ ignoreErrors :
7
+ -
8
+ identifier : missingType.iterableValue
9
+ -
10
+ identifier : missingType.generics
Original file line number Diff line number Diff line change 12
12
class Employee extends Person
13
13
{
14
14
/** @var Collection<int, Paper> */
15
- #[ORM \OneToMany(Paper::class, mappedBy: 'employee ' )]
15
+ #[ORM \OneToMany(targetEntity: Paper::class, mappedBy: 'employee ' )]
16
16
private Collection $ papers ;
17
17
18
18
public function __construct ()
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Paper
21
21
private ?string $ name = null ;
22
22
23
23
/** @var Collection<int, Employee> */
24
- #[ORM \OneToMany(Employee::class, mappedBy: 'papers ' )]
24
+ #[ORM \OneToMany(targetEntity: Employee::class, mappedBy: 'papers ' )]
25
25
private Collection $ employees ;
26
26
27
27
#[ORM \ManyToOne(Document::class)]
You can’t perform that action at this time.
0 commit comments