@@ -136,7 +136,7 @@ |
||
| 136 | 136 | * The file contain an array with translation, we retrieve it in a private array msg. |
| 137 | 137 | * |
| 138 | 138 | * @param string $language Language code |
| 139 | - * @return boolean |
|
| 139 | + * @return boolean|null |
|
| 140 | 140 | */ |
| 141 | 141 | private function retrieveMessages($language) { |
| 142 | 142 | $this->msg = array(); |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | 80 | * Set message for a key |
| 81 | - * @param $key string Message key |
|
| 81 | + * @param string $key string Message key |
|
| 82 | 82 | * @param $message string Message |
| 83 | 83 | */ |
| 84 | 84 | public function setMessage($key, $message) { |
@@ -113,6 +113,7 @@ discard block |
||
| 113 | 113 | /** |
| 114 | 114 | * Sets the message |
| 115 | 115 | * @var $key Remove a message for key |
| 116 | + * @param string $key |
|
| 116 | 117 | */ |
| 117 | 118 | public function deleteMessage($key) { |
| 118 | 119 | if(isset($this->msg[$key])) { |