Completed
Push — master ( e297f9...c83b47 )
by Avtandil
04:59
created
src/MultiLang/Repository.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.