Test Setup Failed
Branch master (33b59c)
by Avtandil
05:59
created
src/MultiLang/Console/MigrationCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/MultiLang/MultiLang.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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())
Please login to merge, or discard this patch.
src/MultiLang/MultiLangServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.