@@ -41,8 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Create a new MultiLang instance. |
43 | 43 | * |
44 | - * @param string $environment |
|
45 | - * @param array $config |
|
44 | + * @param Config $config |
|
46 | 45 | * @param \Illuminate\Cache\CacheManager $cache |
47 | 46 | * @param \Illuminate\Database\DatabaseManager $db |
48 | 47 | */ |
@@ -57,7 +56,7 @@ discard block |
||
57 | 56 | * Get cache key name based on lang and scope |
58 | 57 | * |
59 | 58 | * @param $lang |
60 | - * @param null $scope |
|
59 | + * @param string|null $scope |
|
61 | 60 | * @return string |
62 | 61 | */ |
63 | 62 | public function getCacheName($lang, $scope = null) |
@@ -130,7 +129,7 @@ discard block |
||
130 | 129 | /** |
131 | 130 | * Check if we must load texts from cache |
132 | 131 | * |
133 | - * @param $lang |
|
132 | + * @param string $lang |
|
134 | 133 | * @param null $scope |
135 | 134 | * @return bool |
136 | 135 | */ |
@@ -171,7 +170,7 @@ discard block |
||
171 | 170 | * Save missing texts in database |
172 | 171 | * |
173 | 172 | * @param $texts |
174 | - * @param null $scope |
|
173 | + * @param string $scope |
|
175 | 174 | * @return bool |
176 | 175 | */ |
177 | 176 | public function save($texts, $scope = null) |
@@ -216,7 +215,7 @@ discard block |
||
216 | 215 | /** |
217 | 216 | * Get texts table name |
218 | 217 | * |
219 | - * @return array|mixed|null |
|
218 | + * @return string |
|
220 | 219 | */ |
221 | 220 | public function getTableName() |
222 | 221 | { |