@@ -73,6 +73,9 @@ discard block |
||
73 | 73 | return new Target(Target::ANY, Target::ANY); |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param string $dummy |
|
78 | + */ |
|
76 | 79 | public function till($dummy) |
77 | 80 | { |
78 | 81 | throw new \Exception('till can not be defined for leasing'); |
@@ -98,6 +101,9 @@ discard block |
||
98 | 101 | return [$charge]; |
99 | 102 | } |
100 | 103 | |
104 | + /** |
|
105 | + * @return DateTimeImmutable |
|
106 | + */ |
|
101 | 107 | protected function countPeriodsPassed(DateTimeImmutable $time) |
102 | 108 | { |
103 | 109 | $since = $this->getSince(); |
@@ -23,6 +23,9 @@ |
||
23 | 23 | { |
24 | 24 | protected $reason = 'test reason string'; |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $term |
|
28 | + */ |
|
26 | 29 | protected function buildLeasing($term) |
27 | 30 | { |
28 | 31 | $month = (new DateTimeImmutable())->modify('first day of this month midnight'); |