Completed
Push — master ( fda05d...111d7d )
by wen
03:17
created
src/Config/ConfigFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         return $this->configManagers->get($name);
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $name
45
+     */
43 46
     private function getConfigFile($name)
44 47
     {
45 48
         return $this->app['path.config']
Please login to merge, or discard this patch.
src/Config/ConfigManager.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
     protected $model;
25 25
     protected $elements;
26 26
 
27
+    /**
28
+     * @param string $name
29
+     */
27 30
     public function __construct($name, Application $app, Repository $repository)
28 31
     {
29 32
         $this->name             = $name;
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 
6 6
 use AdminElement;
7 7
 use Illuminate\Contracts\Config\Repository;
8
-use Illuminate\Foundation\Application;
9
-use JsonSerializable;
10 8
 use Illuminate\Contracts\Support\Arrayable;
11 9
 use Illuminate\Contracts\Support\Jsonable;
10
+use Illuminate\Foundation\Application;
11
+use JsonSerializable;
12 12
 use Sco\Admin\Contracts\ConfigManagerInterface;
13 13
 
14 14
 class ConfigManager implements ConfigManagerInterface, Arrayable, Jsonable, JsonSerializable
Please login to merge, or discard this patch.
src/Config/ModelFactory.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,6 @@
 block discarded – undo
5 5
 use Illuminate\Config\Repository as ConfigRepository;
6 6
 use Illuminate\Contracts\Validation\Factory;
7 7
 use Illuminate\Foundation\Application;
8
-use JsonSerializable;
9
-use Illuminate\Contracts\Support\Arrayable;
10
-use Illuminate\Contracts\Support\Jsonable;
11
-use Sco\Admin\Contracts\ConfigFactoryInterface;
12 8
 use Sco\Admin\Contracts\ConfigManagerInterface;
13 9
 use Sco\Admin\Contracts\ModelFactoryInterface;
14 10
 use Sco\Admin\Contracts\RepositoryInterface;
Please login to merge, or discard this patch.
src/Http/Middleware/ModelAuthorize.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Closure;
6 6
 use Illuminate\Auth\Access\AuthorizationException;
7 7
 use Illuminate\Contracts\Auth\Factory as Auth;
8
-use Sco\Admin\Contracts\ConfigFactoryInterface;
9 8
 
10 9
 class ModelAuthorize
11 10
 {
Please login to merge, or discard this patch.