@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * Get current datetime |
197 | 197 | * |
198 | 198 | * @since Aug 17 2015 |
199 | - * @return object |
|
199 | + * @return Datium |
|
200 | 200 | */ |
201 | 201 | public static function now() |
202 | 202 | { |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * @param integer $minute minute number |
218 | 218 | * @param integer $second second number |
219 | 219 | * |
220 | - * @return object |
|
220 | + * @return Datium |
|
221 | 221 | */ |
222 | 222 | public static function create( |
223 | 223 | $year = 2000, |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | * Accecpt Timestamp as Datium initializion |
258 | 258 | * |
259 | 259 | * @param timestamp $timestamp Input timestamp value |
260 | - * @return object |
|
260 | + * @return Datium |
|
261 | 261 | */ |
262 | 262 | public static function createTimestamp( $timestamp ) |
263 | 263 | { |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | * @param object $date_start Start of the DateTime |
287 | 287 | * @param object $date_end End of the DateTime |
288 | 288 | * |
289 | - * @return object |
|
289 | + * @return Datium |
|
290 | 290 | */ |
291 | 291 | public static function between($date_start, $date_end) |
292 | 292 | { |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | * |
333 | 333 | * @param object $calendar Assigned calendar to when calendar should start. |
334 | 334 | * |
335 | - * @return object |
|
335 | + * @return Datium |
|
336 | 336 | */ |
337 | 337 | public function to($calendar) |
338 | 338 | { |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | * |
387 | 387 | * @param string $value How much date should be added to current date |
388 | 388 | * |
389 | - * @return object |
|
389 | + * @return Datium |
|
390 | 390 | */ |
391 | 391 | public function add($value) |
392 | 392 | { |
@@ -428,7 +428,7 @@ discard block |
||
428 | 428 | * |
429 | 429 | * @param string $value How much date should increase from current date |
430 | 430 | * |
431 | - * @return obejct |
|
431 | + * @return Datium |
|
432 | 432 | */ |
433 | 433 | public function sub($value) |
434 | 434 | { |
@@ -468,9 +468,8 @@ discard block |
||
468 | 468 | /** |
469 | 469 | * Check if current year is leap or not |
470 | 470 | * |
471 | - * @param string $type Name of the calendar to caculate leap year |
|
472 | 471 | * |
473 | - * @return boolean |
|
472 | + * @return Leap |
|
474 | 473 | */ |
475 | 474 | public function leap() |
476 | 475 | { |
@@ -484,7 +483,7 @@ discard block |
||
484 | 483 | /** |
485 | 484 | * Calculate how many time ago datetime happens |
486 | 485 | * |
487 | - * @return string |
|
486 | + * @return TimeAgo |
|
488 | 487 | */ |
489 | 488 | public function ago() |
490 | 489 | { |
@@ -500,7 +499,7 @@ discard block |
||
500 | 499 | * |
501 | 500 | * @since Aug, 22 2015 |
502 | 501 | * |
503 | - * @return integer |
|
502 | + * @return DayOf |
|
504 | 503 | */ |
505 | 504 | public function dayOf() |
506 | 505 | { |
@@ -533,7 +532,7 @@ discard block |
||
533 | 532 | * |
534 | 533 | * @since Oct 22, 2015 |
535 | 534 | * |
536 | - * @return object |
|
535 | + * @return DateTime |
|
537 | 536 | */ |
538 | 537 | public function object() |
539 | 538 | { |
@@ -547,7 +546,7 @@ discard block |
||
547 | 546 | * |
548 | 547 | * @param string $language language short name fa, en, ar ... |
549 | 548 | * |
550 | - * @return object |
|
549 | + * @return Datium |
|
551 | 550 | */ |
552 | 551 | public function lang($language = 'fa') |
553 | 552 | { |
@@ -567,7 +566,7 @@ discard block |
||
567 | 566 | /** |
568 | 567 | * Return object as timestamp |
569 | 568 | * |
570 | - * @return timestamp |
|
569 | + * @return integer |
|
571 | 570 | */ |
572 | 571 | public function timestamp() |
573 | 572 | { |