Completed
Push — master ( 77b660...93750f )
by Andrii
02:18
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/AbstractAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     protected $time;
49 49
 
50 50
     /**
51
-     * @param ClientInterface $client
51
+     * @param CustomerInterface $client
52 52
      * @param TargetInterface $target
53 53
      * @param QuantityInterface $quantity
54 54
      * @param DateTime $time
Please login to merge, or discard this patch.
src/AbstractTarget.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
      */
25 25
     protected $type;
26 26
 
27
+    /**
28
+     * @param string $id
29
+     */
27 30
     public function __construct($id, TypeInterface $type)
28 31
     {
29 32
         $this->id = $id;
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 $client
27 26
      * @param TargetInterface $target
28 27
      * @param QuantityInterface $quantity
Please login to merge, or discard this patch.