| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 38 | public function applyInstitutionsWithPersonalRaDetailsUpdatedEvent( |
||
| 39 | InstitutionsWithPersonalRaDetailsUpdatedEvent $event |
||
| 40 | ) { |
||
| 41 | foreach ($event->institutionsWithPersonalRaDetails as $institution) { |
||
| 42 | $this->repository->addIfNotExists(InstitutionWithPersonalRaDetails::createFrom($institution)); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | } |
||
| 46 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..