@@ -32,9 +32,9 @@ |
||
| 32 | 32 | { |
| 33 | 33 | $car = $this->repository->find($this->carId); |
| 34 | 34 | $insurance = new InsuranceDocument($this->insuranceId, |
| 35 | - $this->document->title, |
|
| 36 | - $this->document->description, |
|
| 37 | - $this->document->source |
|
| 35 | + $this->document->title, |
|
| 36 | + $this->document->description, |
|
| 37 | + $this->document->source |
|
| 38 | 38 | ); |
| 39 | 39 | |
| 40 | 40 | $car->addInsuranceDocument($this->insuranceId, $insurance); |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** @var VehicleInspection $vehicleInspection */ |
| 24 | 24 | foreach ($existingVehicleInspection as $vehicleInspection) { |
| 25 | 25 | if ($newVehicleInspection->getLastInspection() === $vehicleInspection->getLastInspection() || |
| 26 | - $newVehicleInspection->getId() === $vehicleInspection->getId() |
|
| 26 | + $newVehicleInspection->getId() === $vehicleInspection->getId() |
|
| 27 | 27 | ) { |
| 28 | 28 | return true; |
| 29 | 29 | } |