Completed
Push — master ( 2ef50e...18ed3e )
by Dmitry
02:37
created
src/ActionInterface.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * Calculate charge for given price.
33
-     * @param PriceInterface $action
34
-     * @return ChargeInterface
33
+     * @return null|Charge
35 34
      */
36 35
     public function calculateCharge(PriceInterface $quantity);
37 36
 
@@ -49,13 +48,13 @@  discard block
 block discarded – undo
49 48
 
50 49
     /**
51 50
      * Returns quantity ot this action.
52
-     * @return QuantityInterface
51
+     * @return \hiqdev\php\units\QuantityInterface
53 52
      */
54 53
     public function getQuantity();
55 54
 
56 55
     /**
57 56
      * Returns time ot this action.
58
-     * @return DateTime
57
+     * @return \DateTime
59 58
      */
60 59
     public function getTime();
61 60
 }
Please login to merge, or discard this patch.
src/SimpleAction.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 class SimpleAction extends AbstractAction
23 23
 {
24 24
     /**
25
-     * @param mixed $id
26 25
      * @param CustomerInterface $customer
27 26
      * @param TargetInterface $target
28 27
      * @param QuantityInterface $quantity
Please login to merge, or discard this patch.
src/AbstractTarget.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
      */
29 29
     protected $uniqId;
30 30
 
31
+    /**
32
+     * @param integer $id
33
+     */
31 34
     public function __construct($id, TypeInterface $type)
32 35
     {
33 36
         $this->id = $id;
Please login to merge, or discard this patch.