@@ -65,7 +65,6 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * Create the migration. |
| 67 | 67 | * |
| 68 | - * @param string $name |
|
| 69 | 68 | * @return bool |
| 70 | 69 | */ |
| 71 | 70 | protected function createMigration($table) |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * @param \Illuminate\Config\Repository $config |
| 82 | 82 | * @param \Illuminate\Cache\CacheManager $cache |
| 83 | 83 | * @param \Illuminate\Database\DatabaseManager $db |
| 84 | - * @return void |
|
| 84 | + * @return string |
|
| 85 | 85 | */ |
| 86 | 86 | public function __construct(ApplicationContract $app, ConfigContract $config, CacheContract $cache, DatabaseContract $db) |
| 87 | 87 | { |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | * Get texts |
| 187 | 187 | * |
| 188 | 188 | * @param string $lang |
| 189 | - * @return string |
|
| 189 | + * @return Collection |
|
| 190 | 190 | */ |
| 191 | 191 | public function getTexts($lang = null) |
| 192 | 192 | { |
@@ -258,6 +258,9 @@ discard block |
||
| 258 | 258 | return $status; |
| 259 | 259 | } |
| 260 | 260 | |
| 261 | + /** |
|
| 262 | + * @param string|null $lang |
|
| 263 | + */ |
|
| 261 | 264 | protected function loadTextsFromDatabase($lang) |
| 262 | 265 | { |
| 263 | 266 | $texts = $lang ? $this->db->table($this->getTableName()) |
@@ -145,7 +145,7 @@ |
||
| 145 | 145 | /** |
| 146 | 146 | * Get the services provided by the provider. |
| 147 | 147 | * |
| 148 | - * @return array |
|
| 148 | + * @return string[] |
|
| 149 | 149 | */ |
| 150 | 150 | public function provides() |
| 151 | 151 | { |