Passed
Push — master ( 3a73e2...a844b3 )
by Marek
03:16
created
RegistryApplication/Domain/CarManagement/Insurances/InsuranceFactory.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @param $dateFrom
57
-     * @param $dateTo
56
+     * @param \DateTime $dateFrom
57
+     * @param \DateTime $dateTo
58 58
      *
59 59
      * @throws \Madkom\RegistryApplication\Domain\CarManagement\Insurances\Exceptions\EmptyInsuranceDateException
60 60
      */
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-     * @param $dateFrom
70
-     * @param $dateTo
69
+     * @param \DateTime $dateFrom
70
+     * @param \DateTime $dateTo
71 71
      *
72 72
      * @throws \InvalidArgumentException
73 73
      */
@@ -79,6 +79,10 @@  discard block
 block discarded – undo
79 79
         }
80 80
     }
81 81
 
82
+    /**
83
+     * @param \DateTime $dateFrom
84
+     * @param \DateTime $dateTo
85
+     */
82 86
     private function isEqualToOneYear($dateFrom, $dateTo)
83 87
     {
84 88
         $interval = $dateTo->diff($dateFrom);
Please login to merge, or discard this patch.