@@ -1653,6 +1653,7 @@ |
||
| 1653 | 1653 | * @param array<string> $suppressed_issues |
| 1654 | 1654 | * @param array<string, bool> $phantom_classes |
| 1655 | 1655 | * @param bool $inferred |
| 1656 | + * @param string $calling_method_id |
|
| 1656 | 1657 | * |
| 1657 | 1658 | * @return bool |
| 1658 | 1659 | */ |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Psalm\Storage\FileStorage; |
| 19 | 19 | use Psalm\Type; |
| 20 | 20 | use Psalm\Type\Atomic\TFloat; |
| 21 | -use Psalm\Type\Atomic\TGenericObject; |
|
| 22 | 21 | use Psalm\Type\Atomic\TInt; |
| 23 | 22 | use Psalm\Type\Atomic\TIterable; |
| 24 | 23 | use Psalm\Type\Atomic\TLiteralFloat; |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | $if_clauses = array_values( |
| 60 | 60 | array_map( |
| 61 | 61 | /** |
| 62 | - * @return \Psalm\Internal\Clause |
|
| 62 | + * @return boolean |
|
| 63 | 63 | */ |
| 64 | 64 | function (\Psalm\Internal\Clause $c) use ($mixed_var_ids) { |
| 65 | 65 | $keys = array_keys($c->possibilities); |
@@ -61,7 +61,6 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param array<PhpParser\Node\Arg> $call_args |
|
| 65 | 64 | * |
| 66 | 65 | * @return ?bool |
| 67 | 66 | */ |
@@ -61,7 +61,6 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param array<PhpParser\Node\Arg> $call_args |
|
| 65 | 64 | * |
| 66 | 65 | * @return ?bool |
| 67 | 66 | */ |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use function file_put_contents; |
| 8 | 8 | use function is_array; |
| 9 | 9 | use function is_readable; |
| 10 | -use Psalm\Internal\Analyzer\IssueData; |
|
| 11 | 10 | use Psalm\Config; |
| 12 | 11 | use function serialize; |
| 13 | 12 | use function unserialize; |
@@ -61,7 +61,6 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param array<PhpParser\Node\Arg> $call_args |
|
| 65 | 64 | * |
| 66 | 65 | * @return ?bool |
| 67 | 66 | */ |
@@ -61,7 +61,6 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param array<PhpParser\Node\Arg> $call_args |
|
| 65 | 64 | * |
| 66 | 65 | * @return ?bool |
| 67 | 66 | */ |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use function get_class; |
| 5 | 5 | use Psalm\Codebase; |
| 6 | -use Psalm\CodeLocation; |
|
| 7 | -use Psalm\StatementsSource; |
|
| 8 | 6 | use Psalm\Internal\Analyzer\StatementsAnalyzer; |
| 9 | 7 | use Psalm\Internal\Type\TemplateResult; |
| 10 | 8 | use Psalm\Internal\Type\UnionTemplateHandler; |
@@ -1,8 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Psalm\Type\Atomic; |
| 3 | 3 | |
| 4 | -use Psalm\CodeLocation; |
|
| 5 | -use Psalm\StatementsSource; |
|
| 6 | 4 | use function preg_quote; |
| 7 | 5 | use function preg_replace; |
| 8 | 6 | use function stripos; |