Completed
Push — master ( 9e79a2...d4f851 )
by Andrii
03:09
created
src/charge/modifiers/addons/WithReason.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -17,6 +17,11 @@
 block discarded – undo
17 17
  */
18 18
 trait WithReason
19 19
 {
20
+    /**
21
+     * @param string $text
22
+     *
23
+     * @return \hiqdev\php\billing\charge\modifiers\Modifier
24
+     */
20 25
     public function reason($text)
21 26
     {
22 27
         return $this->addAddon('reason', new Reason($text));
Please login to merge, or discard this patch.
src/charge/modifiers/addons/WithSince.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
  */
18 18
 trait WithSince
19 19
 {
20
+    /**
21
+     * @return \hiqdev\php\billing\charge\modifiers\Modifier
22
+     */
20 23
     public function since($time)
21 24
     {
22 25
         return $this->addAddon('since', new Since($time));
Please login to merge, or discard this patch.
src/charge/modifiers/addons/WithTill.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
  */
18 18
 trait WithTill
19 19
 {
20
+    /**
21
+     * @return \hiqdev\php\billing\charge\modifiers\Modifier
22
+     */
20 23
     public function till($time)
21 24
     {
22 25
         return $this->addAddon('till', new Till($time));
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\price\SinglePrice;
18 16
 use hiqdev\php\billing\target\Target;
19 17
 use hiqdev\php\billing\type\Type;
Please login to merge, or discard this patch.