@@ -118,9 +118,9 @@ discard block |
||
| 118 | 118 | * Load the lines into the database. |
| 119 | 119 | * |
| 120 | 120 | * @param $lines |
| 121 | - * @param $namespace |
|
| 122 | - * @param $group |
|
| 123 | - * @param $locale |
|
| 121 | + * @param null|string $namespace |
|
| 122 | + * @param string $group |
|
| 123 | + * @param string $locale |
|
| 124 | 124 | */ |
| 125 | 125 | protected function loadLines($lines, $namespace, $group, $locale) |
| 126 | 126 | { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | /** |
| 146 | 146 | * @param $file |
| 147 | 147 | * |
| 148 | - * @return mixed |
|
| 148 | + * @return string |
|
| 149 | 149 | */ |
| 150 | 150 | protected function getGroup($file) |
| 151 | 151 | { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * Process the language lines to remove the specified locale. |
| 68 | 68 | * |
| 69 | - * @param $lines |
|
| 69 | + * @param \Illuminate\Database\Eloquent\Model $lines |
|
| 70 | 70 | */ |
| 71 | 71 | protected function processLines($lines) |
| 72 | 72 | { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * @param string $value |
| 158 | 158 | * @param bool $overwrite |
| 159 | 159 | * |
| 160 | - * @return bool |
|
| 160 | + * @return boolean|null |
|
| 161 | 161 | **/ |
| 162 | 162 | public function updateById($id, $locale, $value, $overwrite = true) |
| 163 | 163 | { |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * @param string $value |
| 174 | 174 | * @param bool $overwrite |
| 175 | 175 | * |
| 176 | - * @return bool |
|
| 176 | + * @return boolean|null |
|
| 177 | 177 | **/ |
| 178 | 178 | public function updateTranslations(Translation $line, $locale, $value, $overwrite = true) |
| 179 | 179 | { |