@@ -112,6 +112,9 @@ |
||
| 112 | 112 | return $_timeString; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | + /** |
|
| 116 | + * @param integer $timestamp |
|
| 117 | + */ |
|
| 115 | 118 | protected function _normal($timestamp) { |
| 116 | 119 | if ($timestamp > $this->_today || $timestamp > ($this->_now - 21600)) { |
| 117 | 120 | // today or in the last 6 hours |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * Translates user types |
| 61 | 61 | * |
| 62 | 62 | * @param $type |
| 63 | - * @return mixed |
|
| 63 | + * @return null|string |
|
| 64 | 64 | */ |
| 65 | 65 | public function type($type) { |
| 66 | 66 | // write out all __() strings for l10n |