Completed
Push — master ( c83b47...38acfc )
by Avtandil
05:44
created
src/MultiLang/Config.php 2 patches
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,16 +28,15 @@
 block discarded – undo
28 28
     /**
29 29
      * Create a new MultiLang instance.
30 30
      *
31
-     * @param string                               $environment
32
-     * @param array                                $config
33
-     * @param \Illuminate\Cache\CacheManager       $cache
34
-     * @param \Illuminate\Database\DatabaseManager $db
35 31
      */
36 32
     public function __construct(array $data)
37 33
     {
38 34
         $this->data = $data;
39 35
     }
40 36
 
37
+    /**
38
+     * @param string $key
39
+     */
41 40
     public function get($key = null, $default = null)
42 41
     {
43 42
         $array = $this->data;
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use Illuminate\Cache\CacheManager as Cache;
14 14
 use Illuminate\Database\DatabaseManager as Database;
15
-use Illuminate\Http\Request;
16
-use Illuminate\Support\Collection;
17
-use InvalidArgumentException;
18 15
 use Longman\LaravelMultiLang\Config;
19 16
 
20 17
 class Repository
Please login to merge, or discard this patch.
src/MultiLang/MultiLang.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Illuminate\Cache\CacheManager as Cache;
15 15
 use Illuminate\Database\DatabaseManager as Database;
16 16
 use Illuminate\Http\Request;
17
-use Illuminate\Routing\Router;
18 17
 use InvalidArgumentException;
19 18
 use Longman\LaravelMultiLang\Config;
20 19
 use Longman\LaravelMultiLang\Repository;
Please login to merge, or discard this patch.
src/MultiLang/Repository.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 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
      */
Please login to merge, or discard this patch.