@@ -20,11 +20,11 @@ discard block |
||
| 20 | 20 | private $output; |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * TimeAgo Class constructure |
|
| 24 | - * |
|
| 25 | - * @param DateTime $time_difference The time to calculate with now |
|
| 26 | - * @param string $lang Language |
|
| 27 | - */ |
|
| 23 | + * TimeAgo Class constructure |
|
| 24 | + * |
|
| 25 | + * @param DateTime $time_difference The time to calculate with now |
|
| 26 | + * @param string $lang Language |
|
| 27 | + */ |
|
| 28 | 28 | public function __construct($time_difference, $lang ) |
| 29 | 29 | { |
| 30 | 30 | |
@@ -49,10 +49,10 @@ discard block |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * Return difference period as an object |
|
| 53 | - * |
|
| 54 | - * @return object |
|
| 55 | - */ |
|
| 52 | + * Return difference period as an object |
|
| 53 | + * |
|
| 54 | + * @return object |
|
| 55 | + */ |
|
| 56 | 56 | public function all() |
| 57 | 57 | { |
| 58 | 58 | |
@@ -61,11 +61,11 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * Read ago config file |
|
| 65 | - * |
|
| 66 | - * @param integer $date date index in ago config file |
|
| 67 | - * @param string $type duration type on ago config file |
|
| 68 | - */ |
|
| 64 | + * Read ago config file |
|
| 65 | + * |
|
| 66 | + * @param integer $date date index in ago config file |
|
| 67 | + * @param string $type duration type on ago config file |
|
| 68 | + */ |
|
| 69 | 69 | public function read( $value, $type ) |
| 70 | 70 | { |
| 71 | 71 | |
@@ -84,11 +84,11 @@ discard block |
||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | - * Show priority of duration |
|
| 88 | - * |
|
| 89 | - * @param integer $date date index in ago config file |
|
| 90 | - * @param string $type duration type on ago config file |
|
| 91 | - */ |
|
| 87 | + * Show priority of duration |
|
| 88 | + * |
|
| 89 | + * @param integer $date date index in ago config file |
|
| 90 | + * @param string $type duration type on ago config file |
|
| 91 | + */ |
|
| 92 | 92 | public function priority( $date, $type ) |
| 93 | 93 | { |
| 94 | 94 | |
@@ -105,10 +105,10 @@ discard block |
||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | - * Return fainal TimeAgo result |
|
| 109 | - * |
|
| 110 | - * @return string |
|
| 111 | - */ |
|
| 108 | + * Return fainal TimeAgo result |
|
| 109 | + * |
|
| 110 | + * @return string |
|
| 111 | + */ |
|
| 112 | 112 | public function get() |
| 113 | 113 | { |
| 114 | 114 | |