@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | /** |
35 | 35 | * @param int $interval timestamp interval |
36 | 36 | * @param DateTime $interval the first date |
37 | - * @param DateTime $last_date the last date so we can find the interval of |
|
37 | + * @param \DateTime $last_date the last date so we can find the interval of |
|
38 | 38 | * the first and the last date |
39 | 39 | * |
40 | 40 | * @return self object |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * @param string $format rounding method after we reveal the readable |
119 | 119 | * interval. You can use PHP_ROUND_HALF_UP and PHP_ROUND_HALF_DOWN |
120 | 120 | * |
121 | - * @return well formatted output |
|
121 | + * @return string formatted output |
|
122 | 122 | */ |
123 | 123 | public function format($format = []) |
124 | 124 | { |
@@ -160,6 +160,7 @@ discard block |
||
160 | 160 | /** |
161 | 161 | * @param int $round_method rounding method after we reveal the readable |
162 | 162 | * interval. You can use PHP_ROUND_HALF_UP and PHP_ROUND_HALF_DOWN |
163 | + * @param integer $result |
|
163 | 164 | * |
164 | 165 | * @return float current number of the result. if it is using $round_method, |
165 | 166 | * it will rounded up or down |
@@ -176,7 +177,7 @@ discard block |
||
176 | 177 | } |
177 | 178 | |
178 | 179 | /** |
179 | - * @return well formatted output |
|
180 | + * @return string formatted output |
|
180 | 181 | */ |
181 | 182 | public function __toString() |
182 | 183 | { |