@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * Get the services provided by the provider. |
49 | 49 | * |
50 | - * @return array |
|
50 | + * @return string[] |
|
51 | 51 | */ |
52 | 52 | public function provides() |
53 | 53 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Padosoft\Composer; |
3 | 3 | |
4 | 4 | use Illuminate\Support\ServiceProvider; |
5 | -use GuzzleHttp\Client; |
|
6 | 5 | |
7 | 6 | class ComposerSecurityCheckServiceProvider extends ServiceProvider |
8 | 7 | { |
@@ -2,17 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Padosoft\Composer; |
4 | 4 | |
5 | -use Illuminate\Console\Command; |
|
6 | -use Mail; |
|
7 | -use File; |
|
8 | -use Mockery\CountValidator\Exception; |
|
9 | -use Validator; |
|
5 | +use Config; |
|
10 | 6 | use GuzzleHttp\Client; |
11 | -use GuzzleHttp\Psr7\Request; |
|
12 | 7 | use GuzzleHttp\Psr7\Response; |
13 | -use GuzzleHttp\Exception\RequestException; |
|
14 | -use GuzzleHttp\Exception\ClientException; |
|
15 | -use Config; |
|
8 | +use Illuminate\Console\Command; |
|
16 | 9 | |
17 | 10 | |
18 | 11 | class ComposerSecurityCheck extends Command |
@@ -126,7 +126,7 @@ |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
129 | - * @param $msg |
|
129 | + * @param string $msg |
|
130 | 130 | * @param bool|false $error |
131 | 131 | */ |
132 | 132 | private function addVerboseLog($msg, $error = false) |
@@ -8,8 +8,8 @@ |
||
8 | 8 | |
9 | 9 | namespace Padosoft\Composer; |
10 | 10 | |
11 | +use GuzzleHttp\Client; |
|
11 | 12 | use Illuminate\Console\Command; |
12 | -use GuzzleHttp\Client; |
|
13 | 13 | |
14 | 14 | class SensiolabHelper |
15 | 15 | { |