Test Failed
Push — master ( 53f188...97c802 )
by Marek
03:50
created
Domain/CarManagement/Insurances/InsuranceDuplicationChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @param \Madkom\RegistryApplication\Domain\CarManagement\Insurances\Insurance $newInsurance
17 17
      *
18
-     * @return true|false
18
+     * @return boolean
19 19
      */
20 20
     public function checkForDuplicates(array $existingInsurance, Insurance $newInsurance)
21 21
     {
Please login to merge, or discard this patch.
RegistryApplication/Domain/CarManagement/Insurances/InsuranceFactory.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,17 +12,18 @@
 block discarded – undo
12 12
 class InsuranceFactory
13 13
 {
14 14
     /**
15
-     * @param $insuranceType
16
-     * @param $dateFrom
17
-     * @param $dateTo
18
-     * @param $insuranceId
15
+     * @param string $insuranceType
16
+     * @param \DateTime $dateFrom
17
+     * @param \DateTime $dateTo
18
+     * @param string $insuranceId
19
+     * @param string $insurerId
19 20
      *
20 21
      * @throws \Madkom\RegistryApplication\Domain\CarManagement\Insurances\Exceptions\EmptyInsuranceDateException
21 22
      * @throws \Madkom\RegistryApplication\Domain\CarManagement\Insurances\Exceptions\UnknownInsuranceTypeException
22 23
      * @throws \InvalidArgumentException
23 24
      * @throws \Madkom\RegistryApplication\Domain\CarManagement\CarExceptions\InvalidDatesException
24 25
      *
25
-     * @return \Madkom\RegistryApplication\Domain\CarManagement\Insurances\AccidentInsurance|\Madkom\RegistryApplication\Domain\CarManagement\Insurances\AssistanceInsurance|\Madkom\RegistryApplication\Domain\CarManagement\Insurances\CarInsurance|\Madkom\RegistryApplication\Domain\CarManagement\Insurances\LiabilityInsurance
26
+     * @return Insurance
26 27
      */
27 28
     public function create($insuranceId, $insuranceType, $dateFrom, $dateTo, $insurerId)
28 29
     {
Please login to merge, or discard this patch.