@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * Set the default language name. |
49 | 49 | * |
50 | 50 | * @param string $sNewDefLang Prefix of the language. |
51 | - * @return object $this |
|
51 | + * @return Lang $this |
|
52 | 52 | */ |
53 | 53 | public function setDefaultLang($sNewDefLang) |
54 | 54 | { |
@@ -60,8 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * Set the user language name. |
62 | 62 | * |
63 | - * @param string $sNewDefaultLang Prefix of the language. |
|
64 | - * @return object $this |
|
63 | + * @return Lang $this |
|
65 | 64 | */ |
66 | 65 | public function setUserLang($sNewUserLang) |
67 | 66 | { |
@@ -120,7 +119,7 @@ discard block |
||
120 | 119 | * |
121 | 120 | * @param string $sFileName The language filename (e.g., "global"). |
122 | 121 | * @param string $sPath If you want to change the default path (the path to the current module), you can specify the path. Default NULL |
123 | - * @return object $this |
|
122 | + * @return Lang $this |
|
124 | 123 | */ |
125 | 124 | public function load($sFileName, $sPath = null) |
126 | 125 | { |
@@ -134,7 +133,7 @@ discard block |
||
134 | 133 | /** |
135 | 134 | * Loading language files. |
136 | 135 | * |
137 | - * @return object $this |
|
136 | + * @return Lang $this |
|
138 | 137 | * @throws \PH7\Framework\Translate\Exception If the language file is not found. |
139 | 138 | */ |
140 | 139 | public function init() |
@@ -202,7 +201,6 @@ discard block |
||
202 | 201 | /** |
203 | 202 | * Language helper function. |
204 | 203 | * |
205 | - * @param string $sVar [, string $... ] |
|
206 | 204 | * @return string Returns the text with gettext function or language in an array (this depends on whether a key language was found in the language table). |
207 | 205 | */ |
208 | 206 | function t(...$aTokens) |