@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | /** |
144 | 144 | * Get current datetime |
145 | 145 | * @since Aug 17 2015 |
146 | - * @return object |
|
146 | + * @return Datium |
|
147 | 147 | */ |
148 | 148 | public static function now() { |
149 | 149 | |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * @param $hour integer |
162 | 162 | * @param $minute integer |
163 | 163 | * @param $second integer |
164 | - * @return object |
|
164 | + * @return Datium |
|
165 | 165 | */ |
166 | 166 | public static function create( $year = 2000, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0 ) { |
167 | 167 | |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | /** |
231 | 231 | * Add new date value to current date |
232 | 232 | * @param $value string |
233 | - * @return object |
|
233 | + * @return Datium |
|
234 | 234 | */ |
235 | 235 | public function add( $value ) { |
236 | 236 | |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | /** |
248 | 248 | * Sub date from current date |
249 | 249 | * @param $value |
250 | - * @return obejct |
|
250 | + * @return Datium |
|
251 | 251 | */ |
252 | 252 | public function sub( $value ) { |
253 | 253 | |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | |
264 | 264 | /** |
265 | 265 | * Check if current year is leap or not |
266 | - * @return boolean |
|
266 | + * @return Leap |
|
267 | 267 | */ |
268 | 268 | public function leap( $type = 'gregorian') { |
269 | 269 |