@@ -5,7 +5,6 @@ |
||
5 | 5 | use PhpParser; |
6 | 6 | use Psalm\Internal\Provider; |
7 | 7 | use Psalm\Internal\Scanner\ParsedDocblock; |
8 | -use Psalm\Storage\MethodStorage; |
|
9 | 8 | use Psalm\Type; |
10 | 9 | |
11 | 10 | class StubsGenerator |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | require_once('command_functions.php'); |
3 | 3 | |
4 | -use Psalm\DocComment; |
|
5 | 4 | use Psalm\Internal\Analyzer\ProjectAnalyzer; |
6 | 5 | use Psalm\Config; |
7 | 6 | use Psalm\IssueBuffer; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Psalm\Internal\TypeVisitor; |
3 | 3 | |
4 | 4 | use Psalm\CodeLocation; |
5 | -use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer; |
|
6 | 5 | use Psalm\Internal\Analyzer\ClassLikeAnalyzer; |
7 | 6 | use Psalm\Internal\Analyzer\TypeAnalyzer; |
8 | 7 | use Psalm\Internal\Type\TypeExpander; |
@@ -290,9 +290,9 @@ |
||
290 | 290 | $catch_context->vars_in_scope[$catch_var_id] = new Union( |
291 | 291 | array_map( |
292 | 292 | /** |
293 | - * @param string $fq_catch_class |
|
293 | + * @param StatementsAnalyzer $fq_catch_class |
|
294 | 294 | * |
295 | - * @return Type\Atomic |
|
295 | + * @return false|null |
|
296 | 296 | */ |
297 | 297 | function ($fq_catch_class) use ($codebase) { |
298 | 298 | $catch_class_type = new TNamedObject($fq_catch_class); |