Completed
Push — master ( 53322f...c071d8 )
by Andrii
03:47 queued 34s
created
tests/unit/charge/modifiers/ModifierTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         $this->checkReason($this->modifier);
64 64
     }
65 65
 
66
+    /**
67
+     * @return Modifier
68
+     */
66 69
     public function checkReason(Modifier $modifier)
67 70
     {
68 71
         $result = $modifier->reason(self::SOME_TEXT);
@@ -83,6 +86,9 @@  discard block
 block discarded – undo
83 86
         $this->checkSince($this->modifier);
84 87
     }
85 88
 
89
+    /**
90
+     * @return Modifier
91
+     */
86 92
     public function checkSince(Modifier $modifier)
87 93
     {
88 94
         $result = $modifier->since($this->now);
Please login to merge, or discard this patch.
src/charge/modifiers/Leasing.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,8 @@
 block discarded – undo
10 10
 
11 11
 namespace hiqdev\php\billing\charge\modifiers;
12 12
 
13
-use DateTimeImmutable;
14 13
 use hiqdev\php\billing\action\ActionInterface;
15 14
 use hiqdev\php\billing\charge\ChargeInterface;
16
-use hiqdev\php\billing\charge\modifiers\addons\Period;
17 15
 use hiqdev\php\billing\formula\FormulaSemanticsError;
18 16
 use hiqdev\php\billing\price\SinglePrice;
19 17
 use hiqdev\php\billing\target\Target;
Please login to merge, or discard this patch.