Completed
Push — master ( cc81ea...b18114 )
by Andrii
04:47
created
src/plan/PlanRepositoryInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * Finds suitable plans for given order: customer + actions.
29
-     * @param ActionInterface $action
30 29
      * @return PlanInterface[] array: actionKey => plan
31 30
      */
32 31
     public function findByOrder(OrderInterface $order);
Please login to merge, or discard this patch.
src/type/Type.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return string
45
+     * @return boolean
46 46
      */
47 47
     public function equals(TypeInterface $other)
48 48
     {
Please login to merge, or discard this patch.
tests/unit/price/PriceFactoryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use hiqdev\php\billing\type\Type;
19 19
 use hiqdev\php\units\Quantity;
20 20
 use hiqdev\php\units\Unit;
21
-use Money\Currency;
22 21
 use Money\Money;
23 22
 
24 23
 /**
Please login to merge, or discard this patch.
src/price/PriceFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $this->{$method}($dto);
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $type
56
+     */
54 57
     public function findClassForType($type)
55 58
     {
56 59
         if (isset($this->types[$type])) {
Please login to merge, or discard this patch.
src/price/EnumPrice.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
      */
44 44
     protected $sums;
45 45
 
46
+    /**
47
+     * @param string|null $id
48
+     */
46 49
     public function __construct(
47 50
                             $id,
48 51
         TypeInterface       $type,
Please login to merge, or discard this patch.
src/charge/Aggregator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace hiqdev\php\billing\charge;
12 12
 
13
-use DateTimeImmutable;
14 13
 use hiqdev\php\billing\bill\Bill;
15 14
 use hiqdev\php\billing\bill\BillInterface;
16 15
 use hiqdev\php\units\QuantityInterface;
Please login to merge, or discard this patch.